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: 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.001342/0.001342, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001621/0.001621, allocations: 194.5 kB / 16.14 MB, free: 6.711 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.493/2.493, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.001481, allocations: 59.89 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8643/0.8658, allocations: 140.4 MB / 0.9489 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003491/0.8694, allocations: 1.473 MB / 0.9503 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000484/0.8699, allocations: 201.1 kB / 0.9505 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.605e-05/0.8699, allocations: 0 / 0.9505 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.87, allocations: 0 / 0.9505 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.776e-05/0.87, allocations: 9.297 kB / 0.9505 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.8702, allocations: 12.11 kB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.756e-05/0.8703, allocations: 26.86 kB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.173e-05/0.8704, allocations: 10.75 kB / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.362e-05/0.8704, allocations: 8.062 kB / 0.9506 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.938e-05/0.8705, allocations: 14.72 kB / 0.9506 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.8705, allocations: 1.375 kB / 0.9506 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.262e-05/0.8706, allocations: 27.11 kB / 0.9506 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.8706, allocations: 7.922 kB / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.8706, allocations: 8.125 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.8708, allocations: 34.23 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.8708, allocations: 0 / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8708, allocations: 3.938 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.8708, allocations: 5.375 kB / 0.9507 GB, free: 7.781 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.0004014/0.8712, allocations: 341.1 kB / 0.951 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.8712, allocations: 9.625 kB / 0.951 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.8714, allocations: 3.688 kB / 0.951 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.342e-05/0.8715, allocations: 169.7 kB / 0.9512 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.8715, allocations: 1.75 kB / 0.9512 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.8715, allocations: 1.75 kB / 0.9512 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.8717, allocations: 57.23 kB / 0.9513 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.8717, allocations: 8.062 kB / 0.9513 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.8717, allocations: 5.312 kB / 0.9513 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.8717, allocations: 0 / 0.9513 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.8719, allocations: 30.69 kB / 0.9513 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.8722, allocations: 246.2 kB / 0.9515 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.8723, allocations: 45.84 kB / 0.9516 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.4e-05/0.8724, allocations: 27.61 kB / 0.9516 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.8724, allocations: 0 / 0.9516 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.8724, allocations: 35.41 kB / 0.9516 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8724, allocations: 0 / 0.9516 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003324/0.8728, allocations: 84.89 kB / 0.9517 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.8728, allocations: 52.66 kB / 0.9518 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.8e-05/0.8729, allocations: 99.27 kB / 0.9519 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.8729, allocations: 25.7 kB / 0.9519 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.736e-05/0.8729, allocations: 81.48 kB / 0.952 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.8729, allocations: 7.891 kB / 0.952 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.873, allocations: 17.28 kB / 0.952 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.399e-05/0.873, allocations: 314.8 kB / 0.9523 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.182e-05/0.8731, allocations: 13.92 kB / 0.9523 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.159e-05/0.8732, allocations: 25 kB / 0.9523 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.8733, allocations: 34.83 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.8733, allocations: 5.5 kB / 0.9524 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001736/0.8735, allocations: 67.59 kB / 0.9524 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.8735, allocations: 5.094 kB / 0.9524 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.8735, allocations: 1.312 kB / 0.9524 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.8736, allocations: 0 / 0.9524 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.641e-05/0.8737, allocations: 10.2 kB / 0.9524 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.8737, allocations: 0 / 0.9524 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.8737, allocations: 8.312 kB / 0.9525 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.8737, allocations: 4.031 kB / 0.9525 GB, free: 5.961 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 4.965e-05/0.8738, allocations: 124.3 kB / 0.9526 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.8738, allocations: 9.172 kB / 0.9526 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.8741, allocations: 71.56 kB / 0.9527 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.8741, allocations: 5.25 kB / 0.9527 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.8741, allocations: 0 / 0.9527 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.8741, allocations: 5.25 kB / 0.9527 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.8742, allocations: 167 kB / 0.9528 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.8742, allocations: 0 / 0.9528 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-05/0.8743, allocations: 11.39 kB / 0.9528 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.8743, allocations: 0 / 0.9528 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.8743, allocations: 1.188 kB / 0.9528 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8743, allocations: 0 / 0.9528 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8743, allocations: 0 / 0.9528 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.8745, allocations: 174.3 kB / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.8746, allocations: 77.11 kB / 0.9531 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.8746, allocations: 1.344 kB / 0.9531 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-05/0.8747, allocations: 15.89 kB / 0.9531 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.8747, allocations: 1.219 kB / 0.9531 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.8747, allocations: 5.422 kB / 0.9531 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.149e-05/0.8748, allocations: 78.28 kB / 0.9532 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8748, allocations: 4 kB / 0.9532 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002151/0.875, allocations: 5.531 kB / 0.9532 GB, free: 5.203 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.0001032/0.8751, allocations: 95.53 kB / 0.9533 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002002/0.8753, allocations: 46.27 kB / 0.9533 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8753, allocations: 0 / 0.9533 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.411e-05/0.8754, allocations: 16.83 kB / 0.9533 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.8757, allocations: 16.88 kB / 0.9533 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.876, allocations: 127 kB / 0.9535 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.8761, allocations: 0.6739 MB / 0.9541 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.3e-05/0.8762, allocations: 9.062 kB / 0.9541 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.8762, allocations: 13 kB / 0.9541 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.8762, allocations: 0 / 0.9541 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of Templates: time 0.002294/0.8785, allocations: 427.9 kB / 0.9546 GB, free: 4.016 MB / 0.7169 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches