Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8965/0.8965, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.031/2.031, allocations: 429.5 MB / 0.6733 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.514e-05/3.725e-05, allocations: 2.875 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002944/0.002981, allocations: 1.474 MB / 0.8796 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003768/0.003358, allocations: 221.9 kB / 0.8798 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.003385, allocations: 4.594 kB / 0.8798 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.003417, allocations: 0 / 0.8798 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.553e-05/0.003462, allocations: 7.281 kB / 0.8798 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.003688, allocations: 27.83 kB / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.655e-05/0.003754, allocations: 28.52 kB / 0.8799 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.981e-05/0.003834, allocations: 8 kB / 0.8799 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.913e-05/0.003883, allocations: 12.67 kB / 0.8799 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.041e-05/0.003914, allocations: 7.984 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.003927, allocations: 1.094 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-05/0.004006, allocations: 31.97 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.004025, allocations: 7.938 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.004043, allocations: 4.656 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.00416, allocations: 39.88 kB / 0.88 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.004162, allocations: 1.312 kB / 0.88 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.172e-06/0.004163, allocations: 3.938 kB / 0.88 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.004168, allocations: 0 / 0.88 GB, free: 4.5 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000345/0.004513, allocations: 368.6 kB / 0.8803 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.004552, allocations: 8.031 kB / 0.8803 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.004714, allocations: 16.83 kB / 0.8803 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.463e-05/0.004799, allocations: 120.5 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.004809, allocations: 384 / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.004818, allocations: 4.375 kB / 0.8805 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.004935, allocations: 50.95 kB / 0.8805 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.004942, allocations: 192 / 0.8805 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.00495, allocations: 384 / 0.8805 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.004956, allocations: 384 / 0.8805 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.376e-05/0.00499, allocations: 12.83 kB / 0.8805 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.005274, allocations: 251.7 kB / 0.8808 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.895e-05/0.005333, allocations: 28.09 kB / 0.8808 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.005358, allocations: 23.77 kB / 0.8808 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.00537, allocations: 1.125 kB / 0.8808 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.005391, allocations: 33.39 kB / 0.8808 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.005391, allocations: 0 / 0.8808 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001382/0.00553, allocations: 46.66 kB / 0.8809 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.00556, allocations: 55.41 kB / 0.8809 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.691e-05/0.005627, allocations: 165.4 kB / 0.8811 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.005636, allocations: 25.7 kB / 0.8811 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.005673, allocations: 126.9 kB / 0.8812 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.005692, allocations: 11.95 kB / 0.8813 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.005716, allocations: 15.38 kB / 0.8813 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.005832, allocations: 0.4884 MB / 0.8818 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/0.005846, allocations: 0 / 0.8818 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.228e-06/0.005856, allocations: 0 / 0.8818 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.167e-05/0.005887, allocations: 16.69 kB / 0.8818 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005889, allocations: 0 / 0.8818 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.385e-05/0.005943, allocations: 46.19 kB / 0.8818 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.005958, allocations: 4 kB / 0.8818 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.005963, allocations: 5.375 kB / 0.8818 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.005974, allocations: 0 / 0.8818 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.845e-05/0.006033, allocations: 4 kB / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.006038, allocations: 1.25 kB / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.954e-05/0.006057, allocations: 8 kB / 0.8818 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.006064, allocations: 3.984 kB / 0.8818 GB, free: 2.391 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.996e-05/0.006124, allocations: 157.9 kB / 0.882 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.006135, allocations: 0 / 0.882 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.948e-05/0.006235, allocations: 57.03 kB / 0.882 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.006238, allocations: 8 kB / 0.8821 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.006242, allocations: 4 kB / 0.8821 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.006245, allocations: 0 / 0.8821 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.965e-05/0.006335, allocations: 116.6 kB / 0.8822 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.006337, allocations: 0 / 0.8822 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.006367, allocations: 8 kB / 0.8822 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.00637, allocations: 3.984 kB / 0.8822 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.006376, allocations: 0 / 0.8822 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.006378, allocations: 3.938 kB / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006379, allocations: 0 / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.201e-05/0.006471, allocations: 195.8 kB / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.006478, allocations: 8 kB / 0.8824 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.006487, allocations: 0 / 0.8824 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.122e-05/0.006519, allocations: 7.938 kB / 0.8824 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.006553, allocations: 7.984 kB / 0.8824 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.006556, allocations: 0 / 0.8824 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.235e-05/0.006588, allocations: 123.2 kB / 0.8825 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006588, allocations: 0 / 0.8825 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001333/0.006722, allocations: 4 kB / 0.8825 GB, free: 1.629 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.305e-05/0.006795, allocations: 95.25 kB / 0.8826 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.664e-05/0.006871, allocations: 24.09 kB / 0.8826 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.006873, allocations: 4 kB / 0.8826 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-05/0.006892, allocations: 15.62 kB / 0.8826 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.007076, allocations: 10.05 kB / 0.8827 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.00749, allocations: 122.4 kB / 0.8828 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.281e-05/0.007522, allocations: 55.36 kB / 0.8828 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.063e-05/0.007543, allocations: 8.047 kB / 0.8828 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.007572, allocations: 12.5 kB / 0.8828 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of SimCode: time 7.52e-07/0.007573, allocations: 0 / 0.8828 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of Templates: time 0.002243/0.009816, allocations: 0.6794 MB / 0.8835 GB, free: 0.5586 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.115054371766746]