Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_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.009144/0.009144, allocations: 103.6 kB / 15.74 MB, free: 6.059 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.002273/0.002273, allocations: 190.9 kB / 16.67 MB, free: 5.969 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.639/2.639, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 67.89 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8757/0.8773, allocations: 159.1 MB / 1.221 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002438/0.8798, allocations: 1.413 MB / 1.222 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004712/0.8802, allocations: 203.4 kB / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.8803, allocations: 0 / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.8803, allocations: 8 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.793e-05/0.8803, allocations: 3.938 kB / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.8805, allocations: 23.89 kB / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.678e-05/0.8806, allocations: 27.86 kB / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.181e-05/0.8807, allocations: 4 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.335e-05/0.8807, allocations: 7.984 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.271e-05/0.8808, allocations: 11.94 kB / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.8808, allocations: 0 / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.42e-05/0.8809, allocations: 23.98 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.8809, allocations: 19.97 kB / 1.222 GB, free: 364 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.8809, allocations: 7.938 kB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.8811, allocations: 36.89 kB / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8811, allocations: 0 / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8811, allocations: 0 / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.8811, allocations: 0 / 1.222 GB, free: 320 kB / 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.0004555/0.8815, allocations: 346.9 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.8816, allocations: 12.56 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.8817, allocations: 12.88 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.8818, allocations: 164.4 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.8818, allocations: 384 / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.8818, allocations: 4.375 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.882, allocations: 46.23 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.882, allocations: 192 / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.882, allocations: 7.938 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.882, allocations: 0 / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.8822, allocations: 35.89 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.8825, allocations: 253 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.8827, allocations: 34.56 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.973e-05/0.8828, allocations: 24.83 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.8828, allocations: 0 / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.8828, allocations: 34.56 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.8828, allocations: 0 / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003407/0.8832, allocations: 89.53 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.8832, allocations: 51.41 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.8833, allocations: 97.86 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.8833, allocations: 29.7 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.8833, allocations: 92.23 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.8833, allocations: 3.953 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.8834, allocations: 17.72 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.8835, allocations: 310.8 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.364e-05/0.8836, allocations: 11.98 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.8836, allocations: 23.97 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.8838, allocations: 40.83 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8838, allocations: 0 / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001773/0.8839, allocations: 69.78 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.884, allocations: 4 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.884, allocations: 0 / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.884, allocations: 4 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/0.8841, allocations: 16 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.8841, allocations: 3.938 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.8841, allocations: 4 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.8841, allocations: 3.984 kB / 1.224 GB, free: 14.28 MB / 0.9512 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 7.844e-05/0.8842, allocations: 118.3 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.8842, allocations: 0 / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.8845, allocations: 80.72 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.8845, allocations: 4 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8845, allocations: 0 / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.8845, allocations: 3.984 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.8846, allocations: 169.5 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8846, allocations: 0 / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.8847, allocations: 11.98 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8847, allocations: 0 / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.8847, allocations: 0 / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8847, allocations: 0 / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.8847, allocations: 4 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.8849, allocations: 171.4 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.885, allocations: 81.05 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.885, allocations: 3.984 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.8851, allocations: 8 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.8851, allocations: 3.984 kB / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.8851, allocations: 8 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.601e-05/0.8852, allocations: 75.28 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.8852, allocations: 4 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002174/0.8854, allocations: 4 kB / 1.225 GB, free: 13.44 MB / 0.9512 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.0001168/0.8855, allocations: 99.25 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.8857, allocations: 35.95 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8857, allocations: 8.062 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.891e-05/0.8858, allocations: 19.92 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.8861, allocations: 7.938 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.8864, allocations: 118.5 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.8866, allocations: 0.6729 MB / 1.226 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.835e-05/0.8866, allocations: 7.984 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.8867, allocations: 7.438 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of SimCode: time 3.51e-07/0.8867, allocations: 4 kB / 1.226 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of Templates: time 0.002514/0.8892, allocations: 0.5059 MB / 1.226 GB, free: 11.9 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches