Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00256/0.00256, allocations: 186.6 kB / 22.22 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.604/2.604, allocations: 443.5 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 63.91 kB / 1.061 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8744/0.8764, allocations: 160.8 MB / 1.218 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003031/0.8795, allocations: 1.428 MB / 1.22 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005211/0.88, allocations: 208.1 kB / 1.22 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.661e-05/0.88, allocations: 0 / 1.22 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.862e-05/0.88, allocations: 0 / 1.22 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.564e-05/0.8801, allocations: 9.016 kB / 1.22 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.8803, allocations: 25.84 kB / 1.22 GB, free: 2.352 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.158e-05/0.8804, allocations: 21.34 kB / 1.22 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.922e-05/0.8805, allocations: 6.172 kB / 1.22 GB, free: 2.336 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/0.8805, allocations: 17.14 kB / 1.22 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.712e-05/0.8805, allocations: 18.3 kB / 1.22 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.8806, allocations: 6.656 kB / 1.22 GB, free: 2.305 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.754e-05/0.8806, allocations: 24.05 kB / 1.22 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.8807, allocations: 0 / 1.22 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.8807, allocations: 10.84 kB / 1.22 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.8808, allocations: 41.41 kB / 1.22 GB, free: 2.266 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.8808, allocations: 0 / 1.22 GB, free: 2.266 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8808, allocations: 0 / 1.22 GB, free: 2.266 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.8808, allocations: 0 / 1.22 GB, free: 2.266 MB / 0.92 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.0004903/0.8813, allocations: 350 kB / 1.221 GB, free: 1.891 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.8813, allocations: 8.656 kB / 1.221 GB, free: 1.891 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.8815, allocations: 8.641 kB / 1.221 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.8816, allocations: 161.5 kB / 1.221 GB, free: 1.691 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.8816, allocations: 384 / 1.221 GB, free: 1.691 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.8816, allocations: 5.5 kB / 1.221 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.8818, allocations: 49.95 kB / 1.221 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.8818, allocations: 192 / 1.221 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.8818, allocations: 5.25 kB / 1.221 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.8818, allocations: 4 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.882, allocations: 38.89 kB / 1.221 GB, free: 1.617 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.8824, allocations: 241.1 kB / 1.221 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.8825, allocations: 46.89 kB / 1.221 GB, free: 1.297 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.947e-05/0.8826, allocations: 27.16 kB / 1.221 GB, free: 1.277 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.8826, allocations: 0 / 1.221 GB, free: 1.277 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.8826, allocations: 31.88 kB / 1.221 GB, free: 1.238 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.8826, allocations: 3.938 kB / 1.221 GB, free: 1.234 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003251/0.883, allocations: 83.84 kB / 1.221 GB, free: 1.176 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.883, allocations: 56.84 kB / 1.221 GB, free: 1.109 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.8831, allocations: 98.69 kB / 1.221 GB, free: 1.008 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.8831, allocations: 25.7 kB / 1.221 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.8832, allocations: 85.27 kB / 1.221 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.8832, allocations: 5.078 kB / 1.221 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.8832, allocations: 11.97 kB / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.8834, allocations: 320 kB / 1.222 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.8834, allocations: 16.45 kB / 1.222 GB, free: 0.543 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.525e-05/0.8835, allocations: 17.55 kB / 1.222 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.8837, allocations: 44.5 kB / 1.222 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.8837, allocations: 0 / 1.222 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001881/0.8838, allocations: 67.73 kB / 1.222 GB, free: 468 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.8839, allocations: 9.688 kB / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.8839, allocations: 0 / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.8839, allocations: 1.312 kB / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.383e-05/0.884, allocations: 10.05 kB / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.884, allocations: 0 / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.152e-05/0.884, allocations: 8.391 kB / 1.222 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.884, allocations: 3.938 kB / 1.222 GB, free: 452 kB / 0.92 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 8.429e-05/0.8841, allocations: 123.2 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.8841, allocations: 5.969 kB / 1.222 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.8844, allocations: 79.7 kB / 1.222 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.8844, allocations: 1.344 kB / 1.222 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.8844, allocations: 0 / 1.222 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.8844, allocations: 0 / 1.222 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.8846, allocations: 159.1 kB / 1.222 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.8846, allocations: 1.344 kB / 1.222 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.8846, allocations: 15.3 kB / 1.222 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8846, allocations: 0 / 1.222 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.8846, allocations: 3.938 kB / 1.222 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.8846, allocations: 1.031 kB / 1.222 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8846, allocations: 0 / 1.222 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.8849, allocations: 177.8 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.885, allocations: 82.11 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.885, allocations: 4 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.067e-05/0.8851, allocations: 8.391 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.8851, allocations: 5.125 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.8851, allocations: 1.094 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.8852, allocations: 78.5 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8852, allocations: 0 / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000215/0.8854, allocations: 5.219 kB / 1.223 GB, free: 15.7 MB / 0.9356 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 0.0001193/0.8855, allocations: 103.3 kB / 1.223 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.8857, allocations: 41.47 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8857, allocations: 0 / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.308e-05/0.8858, allocations: 25.06 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.886, allocations: 9.281 kB / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.8864, allocations: 123 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.8867, allocations: 0.6818 MB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.8867, allocations: 1.125 kB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.8867, allocations: 8.5 kB / 1.224 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.8867, allocations: 1.031 kB / 1.224 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of Templates: time 0.00294/0.8897, allocations: 0.514 MB / 1.224 GB, free: 14.45 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.69981255568564]