Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, 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.001481/0.001481, allocations: 193.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.48/1.48, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.991/2.991, allocations: 472.7 MB / 0.7447 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 64.83 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3617, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003431/0.3652, allocations: 1.461 MB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.3664, allocations: 0.6154 MB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.052e-05/0.3664, allocations: 0 / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.894e-05/0.3665, allocations: 3.938 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.777e-05/0.3666, allocations: 7.984 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.367, allocations: 91.62 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.668e-05/0.3671, allocations: 15.94 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3672, allocations: 8 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.441e-05/0.3672, allocations: 7.984 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.996e-05/0.3673, allocations: 15.92 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.3673, allocations: 0 / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003145/0.3676, allocations: 155.7 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.3676, allocations: 4 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.3677, allocations: 11.94 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.3679, allocations: 100 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.3679, allocations: 0 / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3679, allocations: 0 / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.368, allocations: 0 / 1.07 GB, free: 8.344 MB / 0.8262 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.0005008/0.3685, allocations: 359.4 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3685, allocations: 8.031 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004728/0.369, allocations: 32.89 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.3691, allocations: 168.3 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3691, allocations: 384 / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.3692, allocations: 8.375 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.3694, allocations: 62.2 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.3694, allocations: 192 / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.3695, allocations: 3.938 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3695, allocations: 4 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002674/0.3697, allocations: 51.94 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.3702, allocations: 276.9 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.3705, allocations: 66.41 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.3706, allocations: 32.89 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.3707, allocations: 0 / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3707, allocations: 34.56 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3707, allocations: 0 / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0005479/0.3713, allocations: 121.5 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.3713, allocations: 51.41 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.3714, allocations: 102 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3714, allocations: 25.7 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.3715, allocations: 88.08 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.3715, allocations: 7.906 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.3716, allocations: 13.7 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3717, allocations: 318.8 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3718, allocations: 27.97 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.372, allocations: 27.97 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.3722, allocations: 52.81 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3722, allocations: 3.984 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003205/0.3726, allocations: 93.77 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3726, allocations: 4 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3726, allocations: 4 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3726, allocations: 0 / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3728, allocations: 15.97 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3728, allocations: 8.016 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.3729, allocations: 8 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.3729, allocations: 3.984 kB / 1.072 GB, free: 6.074 MB / 0.8262 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.82e-05/0.373, allocations: 115.5 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.3731, allocations: 4 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.3731, allocations: 3.125 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3731, allocations: 4 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3731, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3731, allocations: 3.938 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.3733, allocations: 169.6 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3733, allocations: 0 / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.3735, allocations: 19.91 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3735, allocations: 0 / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3735, allocations: 0 / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3735, allocations: 0 / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3735, allocations: 0 / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.3739, allocations: 199.3 kB / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.3739, allocations: 77.11 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.374, allocations: 0 / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.3741, allocations: 16.02 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.3741, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.3741, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.181e-05/0.3742, allocations: 87.27 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3742, allocations: 0 / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002568/0.3745, allocations: 12 kB / 1.073 GB, free: 5.285 MB / 0.8262 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 (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 Backend phase and start with SimCode phase: time 0.0001794/0.3746, allocations: 111.2 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003306/0.375, allocations: 55.94 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.375, allocations: 3.938 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.3751, allocations: 27.97 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.3755, allocations: 13.66 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.3759, allocations: 132.5 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.3762, allocations: 0.6809 MB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.3763, allocations: 11.94 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.3764, allocations: 15.44 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3764, allocations: 0 / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of Templates: time 0.003133/0.3795, allocations: 0.7089 MB / 1.074 GB, free: 3.469 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches