Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001262, allocations: 101.6 kB / 16.37 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 195.8 kB / 17.31 MB, free: 5.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.186/1.186, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.991/1.991, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 62.16 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2215, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002354/0.2239, allocations: 1.411 MB / 0.9525 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004185/0.2243, allocations: 197.6 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.2243, allocations: 4 kB / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.2244, allocations: 0 / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.137e-05/0.2244, allocations: 11.92 kB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.2246, allocations: 19.92 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.386e-05/0.2247, allocations: 23.86 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.345e-05/0.2248, allocations: 11.98 kB / 0.9528 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.547e-05/0.2248, allocations: 7.984 kB / 0.9528 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.853e-05/0.2249, allocations: 15.92 kB / 0.9528 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.2249, allocations: 7.938 kB / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.054e-05/0.225, allocations: 23.98 kB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.225, allocations: 4 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.225, allocations: 11.88 kB / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.2252, allocations: 43.94 kB / 0.9529 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2252, allocations: 0 / 0.9529 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2252, allocations: 0 / 0.9529 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2252, allocations: 0 / 0.9529 GB, free: 6.27 MB / 0.7325 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.0003968/0.2256, allocations: 347.3 kB / 0.9532 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2256, allocations: 8.031 kB / 0.9532 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.2257, allocations: 8.938 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.693e-05/0.2258, allocations: 164.3 kB / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.2259, allocations: 384 / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.2259, allocations: 4.375 kB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.226, allocations: 46.23 kB / 0.9534 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.226, allocations: 192 / 0.9534 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.226, allocations: 7.938 kB / 0.9534 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.2261, allocations: 3.984 kB / 0.9534 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.2262, allocations: 35.91 kB / 0.9535 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.2265, allocations: 248.9 kB / 0.9537 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.2266, allocations: 42.48 kB / 0.9537 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.392e-05/0.2267, allocations: 20.91 kB / 0.9538 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.2267, allocations: 4 kB / 0.9538 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.2267, allocations: 30.56 kB / 0.9538 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2267, allocations: 7.938 kB / 0.9538 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002945/0.227, allocations: 77.64 kB / 0.9539 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.2271, allocations: 51.41 kB / 0.9539 GB, free: 5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.039e-05/0.2271, allocations: 106 kB / 0.954 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.2272, allocations: 25.7 kB / 0.9541 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.2272, allocations: 84.14 kB / 0.9541 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.2272, allocations: 3.906 kB / 0.9541 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.2272, allocations: 13.72 kB / 0.9541 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.2273, allocations: 318.8 kB / 0.9545 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.979e-05/0.2274, allocations: 11.98 kB / 0.9545 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.86e-05/0.2275, allocations: 23.98 kB / 0.9545 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.2276, allocations: 44.75 kB / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2276, allocations: 0 / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001652/0.2278, allocations: 61.8 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.2278, allocations: 8 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2278, allocations: 96 / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2278, allocations: 7.984 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.954e-05/0.2279, allocations: 7.984 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2279, allocations: 3.938 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.228, allocations: 11.89 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.228, allocations: 11.92 kB / 0.9546 GB, free: 4.227 MB / 0.7325 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 6.249e-05/0.2281, allocations: 113.8 kB / 0.9547 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.2281, allocations: 0 / 0.9547 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.2283, allocations: 84.7 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2283, allocations: 0 / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2283, allocations: 4 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2284, allocations: 0 / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.2285, allocations: 161.6 kB / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2285, allocations: 0 / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.278e-05/0.2286, allocations: 8 kB / 0.955 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.2286, allocations: 0 / 0.955 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.2286, allocations: 8 kB / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2286, allocations: 3.984 kB / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2286, allocations: 0 / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.2288, allocations: 171.4 kB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.2289, allocations: 77.11 kB / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.2289, allocations: 0 / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.831e-05/0.229, allocations: 11.98 kB / 0.9553 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.229, allocations: 4 kB / 0.9553 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.229, allocations: 4 kB / 0.9553 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.851e-05/0.229, allocations: 79.28 kB / 0.9553 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.229, allocations: 0 / 0.9553 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002238/0.2293, allocations: 7.906 kB / 0.9553 GB, free: 3.402 MB / 0.7325 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 9.019e-05/0.2294, allocations: 99.23 kB / 0.9554 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001783/0.2296, allocations: 39.97 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2296, allocations: 0 / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.615e-05/0.2296, allocations: 27.91 kB / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.2299, allocations: 14 kB / 0.9555 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.2302, allocations: 114.7 kB / 0.9556 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.2304, allocations: 0.6805 MB / 0.9563 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.628e-05/0.2304, allocations: 8.016 kB / 0.9563 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/0.2304, allocations: 11.44 kB / 0.9563 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of SimCode: time 1.543e-06/0.2305, allocations: 0 / 0.9563 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of Templates: time 0.002167/0.2326, allocations: 0.5004 MB / 0.9568 GB, free: 1.855 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches