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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 75.88 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5427/0.544, allocations: 140.4 MB / 0.9497 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002153/0.5462, allocations: 1.393 MB / 0.9511 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003407/0.5465, allocations: 207.1 kB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.5466, allocations: 0 / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.052e-05/0.5466, allocations: 0 / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.689e-05/0.5467, allocations: 5.469 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.5468, allocations: 24.86 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.3e-05/0.5469, allocations: 21.56 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.331e-05/0.547, allocations: 12.2 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.397e-05/0.547, allocations: 15.22 kB / 0.9514 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.051e-05/0.5471, allocations: 11.67 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.5471, allocations: 2.281 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.62e-05/0.5471, allocations: 30.91 kB / 0.9514 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.5472, allocations: 1.156 kB / 0.9514 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.5472, allocations: 19.05 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.503e-05/0.5473, allocations: 35 kB / 0.9514 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.5473, allocations: 0 / 0.9514 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.32e-07/0.5473, allocations: 0 / 0.9514 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.5473, allocations: 0.8125 kB / 0.9514 GB, free: 7.77 MB / 0.7169 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.0002944/0.5476, allocations: 346.5 kB / 0.9518 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.5477, allocations: 9.562 kB / 0.9518 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.922e-05/0.5477, allocations: 30.75 kB / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.052e-05/0.5478, allocations: 4.75 kB / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.165e-05/0.5478, allocations: 173.6 kB / 0.952 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.5479, allocations: 384 / 0.952 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.5479, allocations: 1.562 kB / 0.952 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.548, allocations: 49.64 kB / 0.952 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.548, allocations: 9.281 kB / 0.952 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.548, allocations: 0 / 0.952 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.548, allocations: 0 / 0.952 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.5482, allocations: 34.91 kB / 0.9521 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.5484, allocations: 249 kB / 0.9523 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.5485, allocations: 43.16 kB / 0.9524 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.585e-05/0.5486, allocations: 22.94 kB / 0.9524 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.5486, allocations: 5.234 kB / 0.9524 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.174e-05/0.5487, allocations: 34.5 kB / 0.9524 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.5487, allocations: 1.281 kB / 0.9524 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003011/0.549, allocations: 88.08 kB / 0.9525 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.573e-05/0.549, allocations: 51.41 kB / 0.9526 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.137e-05/0.549, allocations: 95.17 kB / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.5491, allocations: 27.33 kB / 0.9527 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.818e-05/0.5491, allocations: 84.14 kB / 0.9527 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.5491, allocations: 9.516 kB / 0.9528 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.5491, allocations: 11.38 kB / 0.9528 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.476e-05/0.5492, allocations: 319.9 kB / 0.9531 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.5492, allocations: 13.89 kB / 0.9531 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.5493, allocations: 18.05 kB / 0.9531 GB, free: 6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.5495, allocations: 41.91 kB / 0.9531 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5495, allocations: 5.094 kB / 0.9531 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001663/0.5496, allocations: 67.72 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.5497, allocations: 6.188 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.5497, allocations: 0 / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.5497, allocations: 192 / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.613e-05/0.5498, allocations: 9.797 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.5498, allocations: 5.156 kB / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.5498, allocations: 7.531 kB / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.5498, allocations: 5.578 kB / 0.9532 GB, free: 5.902 MB / 0.7169 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 3.817e-05/0.5499, allocations: 119.3 kB / 0.9534 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.5499, allocations: 9.078 kB / 0.9534 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.5501, allocations: 76.25 kB / 0.9534 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5501, allocations: 0 / 0.9534 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5501, allocations: 1.281 kB / 0.9534 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.5501, allocations: 0 / 0.9534 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.902e-05/0.5502, allocations: 167.2 kB / 0.9536 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5503, allocations: 0 / 0.9536 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.5503, allocations: 11.23 kB / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5503, allocations: 1.219 kB / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.5503, allocations: 0 / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5503, allocations: 0 / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5503, allocations: 1.281 kB / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.5505, allocations: 172.8 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.5506, allocations: 86.27 kB / 0.9539 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.5506, allocations: 1.406 kB / 0.9539 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.5507, allocations: 6.922 kB / 0.9539 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.5507, allocations: 5.375 kB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.5507, allocations: 1.531 kB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.828e-05/0.5507, allocations: 82.14 kB / 0.954 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5507, allocations: 0 / 0.954 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002071/0.5509, allocations: 9.75 kB / 0.954 GB, free: 5.148 MB / 0.7169 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.0003068/0.5512, allocations: 0.6991 MB / 0.9546 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001877/0.5514, allocations: 46.64 kB / 0.9547 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5515, allocations: 0 / 0.9547 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.996e-05/0.5515, allocations: 21.45 kB / 0.9547 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.5518, allocations: 6.547 kB / 0.9547 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.5521, allocations: 142.6 kB / 0.9549 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.605e-05/0.5522, allocations: 0.6854 MB / 0.9555 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.801e-05/0.5522, allocations: 5.141 kB / 0.9555 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.5523, allocations: 12.66 kB / 0.9555 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5523, allocations: 0 / 0.9555 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2538/0.806, allocations: 1.337 MB / 0.9568 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.338/10.14, allocations: 14.19 kB / 0.9569 GB, free: 2.824 MB / 0.7169 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv","/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