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.001459/0.001459, 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.00189/0.00189, allocations: 195.6 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.525/1.525, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.668/2.668, allocations: 390.2 MB / 0.6646 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 63.89 kB / 0.8125 GB, free: 14.5 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7977/0.7992, allocations: 140.4 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003468/0.8027, allocations: 1.405 MB / 0.9509 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005278/0.8033, allocations: 207.2 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.8033, allocations: 0 / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.508e-05/0.8034, allocations: 7.875 kB / 0.9511 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.129e-05/0.8035, allocations: 5.281 kB / 0.9511 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.8038, allocations: 28.64 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.743e-05/0.8039, allocations: 18.75 kB / 0.9512 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.804, allocations: 10.89 kB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.774e-05/0.804, allocations: 11.03 kB / 0.9512 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.698e-05/0.8041, allocations: 11.64 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.8041, allocations: 3.25 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.8043, allocations: 27.52 kB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.8043, allocations: 3.984 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.8043, allocations: 14.64 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.8044, allocations: 34.97 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.8045, allocations: 0 / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8045, allocations: 1.312 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.8045, allocations: 0 / 0.9513 GB, free: 7.848 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.0004816/0.805, allocations: 346.4 kB / 0.9516 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.805, allocations: 9.562 kB / 0.9516 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.8052, allocations: 3.594 kB / 0.9516 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.583e-05/0.8053, allocations: 173.3 kB / 0.9518 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.8053, allocations: 1.625 kB / 0.9518 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.8053, allocations: 1.469 kB / 0.9518 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.8055, allocations: 49.58 kB / 0.9519 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.8055, allocations: 192 / 0.9519 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.8055, allocations: 7.938 kB / 0.9519 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.8055, allocations: 1.219 kB / 0.9519 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.8057, allocations: 30.62 kB / 0.9519 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.806, allocations: 245 kB / 0.9521 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.8062, allocations: 47.38 kB / 0.9522 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.925e-05/0.8063, allocations: 22.72 kB / 0.9522 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.8063, allocations: 0 / 0.9522 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.8063, allocations: 31.59 kB / 0.9522 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.963e-06/0.8063, allocations: 1.5 kB / 0.9522 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003853/0.8067, allocations: 87.67 kB / 0.9523 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.8068, allocations: 56.97 kB / 0.9524 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.717e-05/0.8068, allocations: 98.72 kB / 0.9525 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.8069, allocations: 25.7 kB / 0.9525 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.8069, allocations: 89.78 kB / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.8069, allocations: 3.906 kB / 0.9526 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.807, allocations: 16.39 kB / 0.9526 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.799e-05/0.807, allocations: 316.3 kB / 0.9529 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.993e-05/0.8071, allocations: 16.3 kB / 0.9529 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.988e-05/0.8072, allocations: 17.33 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.8073, allocations: 43.75 kB / 0.953 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8073, allocations: 0 / 0.953 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001869/0.8075, allocations: 76.62 kB / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.8076, allocations: 5.125 kB / 0.9531 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.8076, allocations: 0 / 0.9531 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.8076, allocations: 1.062 kB / 0.9531 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.047e-05/0.8077, allocations: 5.562 kB / 0.9531 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.8077, allocations: 1.281 kB / 0.9531 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.172e-05/0.8078, allocations: 11.8 kB / 0.9531 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.8078, allocations: 0 / 0.9531 GB, free: 6.023 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 6.285e-05/0.8078, allocations: 120.3 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.8079, allocations: 5.375 kB / 0.9532 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.8081, allocations: 79.62 kB / 0.9533 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.8081, allocations: 5.562 kB / 0.9533 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/0.8081, allocations: 0 / 0.9533 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.8082, allocations: 0 / 0.9533 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.8083, allocations: 166.6 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.8083, allocations: 5.25 kB / 0.9534 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.846e-05/0.8084, allocations: 11.7 kB / 0.9534 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.8084, allocations: 0 / 0.9534 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.8084, allocations: 0 / 0.9534 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.8084, allocations: 1.344 kB / 0.9534 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8084, allocations: 0 / 0.9534 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.8086, allocations: 164.7 kB / 0.9536 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.8087, allocations: 82.39 kB / 0.9537 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.8087, allocations: 1.281 kB / 0.9537 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.8088, allocations: 11.05 kB / 0.9537 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.8088, allocations: 6.469 kB / 0.9537 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.8088, allocations: 0 / 0.9537 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.36e-05/0.8089, allocations: 83.61 kB / 0.9538 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8089, allocations: 0 / 0.9538 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002091/0.8091, allocations: 4.969 kB / 0.9538 GB, free: 5.273 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.0001164/0.8092, allocations: 106.2 kB / 0.9539 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.8094, allocations: 41.98 kB / 0.9539 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.8095, allocations: 0 / 0.9539 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.623e-05/0.8096, allocations: 17.89 kB / 0.9539 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.8099, allocations: 9.906 kB / 0.954 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.8102, allocations: 124.8 kB / 0.9541 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.8104, allocations: 0.6806 MB / 0.9547 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.205e-05/0.8104, allocations: 5.484 kB / 0.9547 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.8105, allocations: 12.81 kB / 0.9548 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8105, allocations: 0 / 0.9548 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of Templates: time 0.003039/0.8135, allocations: 0.4929 MB / 0.9552 GB, free: 4.051 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