Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_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.001502/0.001502, allocations: 105.5 kB / 16.41 MB, free: 6.465 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.001544/0.001544, allocations: 187 kB / 17.34 MB, free: 5.719 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.676/2.676, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 64.12 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9177/0.9193, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002842/0.9222, allocations: 1.409 MB / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005074/0.9227, allocations: 199.4 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/0.9228, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.9228, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.24e-05/0.9229, allocations: 7.938 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.9231, allocations: 19.92 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.09e-05/0.9232, allocations: 27.91 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.9233, allocations: 8 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.696e-05/0.9234, allocations: 11.92 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.505e-05/0.9234, allocations: 11.98 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.9234, allocations: 4 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.852e-05/0.9235, allocations: 19.98 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.9235, allocations: 7.938 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.9236, allocations: 4 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.9237, allocations: 43.89 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.9237, allocations: 7.922 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9237, allocations: 7.938 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.9237, allocations: 0 / 1.21 GB, free: 11.88 MB / 0.9356 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.0004516/0.9242, allocations: 343.3 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.9242, allocations: 8.031 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.9244, allocations: 8.938 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.9245, allocations: 160.4 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.9245, allocations: 384 / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.9245, allocations: 4.375 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.9247, allocations: 50.23 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.9247, allocations: 8.125 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.9248, allocations: 3.938 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.9248, allocations: 0 / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.9249, allocations: 31.95 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.9253, allocations: 250.7 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.9254, allocations: 50.52 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.491e-05/0.9255, allocations: 20.91 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.9256, allocations: 0 / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.9256, allocations: 34.56 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.9256, allocations: 0 / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003535/0.926, allocations: 89.48 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.926, allocations: 51.41 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.449e-05/0.9261, allocations: 101.8 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.9261, allocations: 25.7 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.9262, allocations: 84.14 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.9262, allocations: 3.906 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.9263, allocations: 17.84 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.9264, allocations: 318.8 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.122e-05/0.9265, allocations: 11.98 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-05/0.9266, allocations: 19.98 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.9268, allocations: 36.83 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.9268, allocations: 4.062 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001907/0.927, allocations: 69.53 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.927, allocations: 8 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.927, allocations: 0 / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.927, allocations: 0 / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.009e-05/0.9271, allocations: 7.984 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.9271, allocations: 0 / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.9272, allocations: 15.95 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.9272, allocations: 4 kB / 1.212 GB, free: 9.848 MB / 0.9356 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 8.099e-05/0.9273, allocations: 113.8 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.9273, allocations: 0 / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.9276, allocations: 80.7 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.9276, allocations: 3.938 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.9276, allocations: 4 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.9276, allocations: 4 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.9278, allocations: 165.5 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9278, allocations: 0 / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.075e-05/0.9279, allocations: 11.98 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.9279, allocations: 0 / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.9279, allocations: 0 / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9279, allocations: 0 / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.9279, allocations: 0 / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.9281, allocations: 187.3 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.9282, allocations: 77.11 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.9282, allocations: 0 / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.027e-05/0.9283, allocations: 7.984 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.9283, allocations: 8 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.9284, allocations: 0 / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.955e-05/0.9284, allocations: 79.28 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9284, allocations: 4 kB / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002189/0.9286, allocations: 4 kB / 1.213 GB, free: 9.012 MB / 0.9356 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.0001167/0.9288, allocations: 102 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.929, allocations: 39.97 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.929, allocations: 0 / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.043e-05/0.9291, allocations: 23.91 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.9294, allocations: 16 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.9298, allocations: 136.4 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.93, allocations: 0.6846 MB / 1.214 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.9301, allocations: 7.438 kB / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of SimCode: time 6.11e-07/0.9301, allocations: 0 / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of Templates: time 0.002279/0.9324, allocations: 0.5811 MB / 1.214 GB, free: 7.363 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches