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.0008053/0.0008052, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0008232/0.0008233, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.474/2.474, allocations: 390.9 MB / 0.666 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003337, allocations: 8.219 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8424/0.8428, allocations: 142.4 MB / 0.9544 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001604/0.8444, allocations: 1.114 MB / 0.9555 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004263/0.8449, allocations: 200.2 kB / 0.9557 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.961e-05/0.8449, allocations: 0 / 0.9557 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.8449, allocations: 3.938 kB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.226e-05/0.845, allocations: 1.312 kB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.8452, allocations: 20.27 kB / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.855e-05/0.8453, allocations: 21.23 kB / 0.9558 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.877e-05/0.8454, allocations: 10.8 kB / 0.9558 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.175e-05/0.8454, allocations: 14.77 kB / 0.9558 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.508e-05/0.8455, allocations: 8.312 kB / 0.9558 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.8455, allocations: 0 / 0.9558 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.115e-05/0.8456, allocations: 22.75 kB / 0.9558 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.8456, allocations: 7.938 kB / 0.9558 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.04e-05/0.8456, allocations: 27.55 kB / 0.9558 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.368e-05/0.8457, allocations: 28.83 kB / 0.9559 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.8457, allocations: 0 / 0.9559 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8457, allocations: 0 / 0.9559 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.8458, allocations: 1.469 kB / 0.9559 GB, free: 6.578 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.0003988/0.8462, allocations: 352.3 kB / 0.9562 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.8462, allocations: 12.94 kB / 0.9562 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.8463, allocations: 3.125 kB / 0.9562 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.983e-05/0.8464, allocations: 164.2 kB / 0.9564 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.8464, allocations: 0.9688 kB / 0.9564 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.8465, allocations: 1.531 kB / 0.9564 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.8467, allocations: 57.2 kB / 0.9564 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.8467, allocations: 1.062 kB / 0.9564 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.8467, allocations: 0 / 0.9564 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.8467, allocations: 5.109 kB / 0.9564 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.8469, allocations: 52.03 kB / 0.9565 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.8472, allocations: 249.6 kB / 0.9567 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.8473, allocations: 35.62 kB / 0.9568 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.3e-05/0.8474, allocations: 31.22 kB / 0.9568 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.8474, allocations: 1.062 kB / 0.9568 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.8475, allocations: 47.44 kB / 0.9568 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8475, allocations: 0 / 0.9568 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003526/0.8478, allocations: 102.3 kB / 0.9569 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.8479, allocations: 52.78 kB / 0.957 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.507e-05/0.8479, allocations: 102.5 kB / 0.9571 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.848, allocations: 25.7 kB / 0.9571 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.657e-05/0.848, allocations: 81.33 kB / 0.9572 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.848, allocations: 10.33 kB / 0.9572 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-06/0.848, allocations: 1.094 kB / 0.9572 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.955e-05/0.8481, allocations: 319.9 kB / 0.9575 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.522e-05/0.8482, allocations: 17.39 kB / 0.9575 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.114e-05/0.8482, allocations: 26.8 kB / 0.9575 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.73e-05/0.8483, allocations: 21.83 kB / 0.9576 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8483, allocations: 0 / 0.9576 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000178/0.8485, allocations: 78.09 kB / 0.9576 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.8485, allocations: 5.469 kB / 0.9576 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8485, allocations: 3.953 kB / 0.9577 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.8486, allocations: 1.031 kB / 0.9577 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.087e-05/0.8487, allocations: 12.11 kB / 0.9577 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.8487, allocations: 0 / 0.9577 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.33e-05/0.8487, allocations: 18.64 kB / 0.9577 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.8487, allocations: 5.219 kB / 0.9577 GB, free: 4.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.663e-05/0.8488, allocations: 106.9 kB / 0.9578 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.8488, allocations: 1.281 kB / 0.9578 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.8491, allocations: 98.59 kB / 0.9579 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.8491, allocations: 3.953 kB / 0.9579 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.8491, allocations: 1.156 kB / 0.9579 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8491, allocations: 0 / 0.9579 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.8492, allocations: 159.4 kB / 0.958 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.8492, allocations: 0 / 0.958 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.488e-05/0.8493, allocations: 13.45 kB / 0.9581 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.8493, allocations: 1.375 kB / 0.9581 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.8493, allocations: 0 / 0.9581 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.8493, allocations: 5.375 kB / 0.9581 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.8493, allocations: 3.953 kB / 0.9581 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.8496, allocations: 186.4 kB / 0.9582 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.8496, allocations: 82.45 kB / 0.9583 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.8496, allocations: 0 / 0.9583 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.549e-05/0.8497, allocations: 10.58 kB / 0.9583 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.8497, allocations: 5.984 kB / 0.9583 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.8497, allocations: 3.938 kB / 0.9583 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.576e-05/0.8498, allocations: 78.69 kB / 0.9584 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8498, allocations: 0 / 0.9584 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002135/0.85, allocations: 9.344 kB / 0.9584 GB, free: 4.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.328e-05/0.8501, allocations: 108.5 kB / 0.9585 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.8503, allocations: 43.53 kB / 0.9586 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8503, allocations: 0 / 0.9586 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-05/0.8504, allocations: 37.41 kB / 0.9586 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.8507, allocations: 2.312 kB / 0.9586 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.851, allocations: 123.1 kB / 0.9587 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.8511, allocations: 0.6781 MB / 0.9594 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.251e-05/0.8511, allocations: 5.438 kB / 0.9594 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.8512, allocations: 8.969 kB / 0.9594 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8512, allocations: 0 / 0.9594 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of Templates: time 0.002247/0.8534, allocations: 413 kB / 0.9598 GB, free: 2.836 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