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.001263/0.001262, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00125/0.00125, allocations: 195.8 kB / 16.14 MB, free: 6.645 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.508/1.508, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 461.9 MB / 0.7342 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 66.25 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3564, allocations: 157.4 MB / 1.052 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002416/0.3589, allocations: 1.459 MB / 1.054 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004859/0.3594, allocations: 215.4 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.971e-05/0.3594, allocations: 0 / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.3595, allocations: 0 / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.134e-05/0.3595, allocations: 4 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.3597, allocations: 23.91 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.51e-05/0.3598, allocations: 27.86 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.912e-05/0.3599, allocations: 8 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.804e-05/0.3599, allocations: 8 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.824e-05/0.3599, allocations: 15.91 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.36, allocations: 0 / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.181e-05/0.36, allocations: 23.98 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.3601, allocations: 3.984 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.3601, allocations: 15.88 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.3602, allocations: 32.23 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3602, allocations: 4 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.62e-07/0.3602, allocations: 0 / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.3602, allocations: 0 / 1.054 GB, free: 6.965 MB / 0.8106 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.0004393/0.3607, allocations: 347.4 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3607, allocations: 8.031 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.3609, allocations: 12.84 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.361, allocations: 168.4 kB / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.361, allocations: 384 / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-06/0.361, allocations: 4.375 kB / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.3612, allocations: 50.23 kB / 1.054 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3612, allocations: 4.188 kB / 1.054 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3612, allocations: 3.938 kB / 1.054 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3612, allocations: 0 / 1.054 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.3614, allocations: 35.91 kB / 1.054 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.3617, allocations: 248.9 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.3619, allocations: 42.5 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.914e-05/0.362, allocations: 20.89 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.362, allocations: 0 / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.362, allocations: 38.56 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.362, allocations: 0 / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003623/0.3624, allocations: 81.58 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.3625, allocations: 55.41 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.117e-05/0.3625, allocations: 97.86 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.3625, allocations: 25.7 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.3626, allocations: 84.14 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.3626, allocations: 11.89 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.3627, allocations: 9.719 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3628, allocations: 318.9 kB / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.062e-05/0.3629, allocations: 19.98 kB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.461e-05/0.363, allocations: 15.97 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.3631, allocations: 44.77 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3631, allocations: 0 / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000199/0.3633, allocations: 73.56 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3634, allocations: 8 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3634, allocations: 0 / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3634, allocations: 0 / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.899e-05/0.3635, allocations: 11.98 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3635, allocations: 7.922 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.644e-05/0.3636, allocations: 4 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.3636, allocations: 0 / 1.056 GB, free: 4.922 MB / 0.8106 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.928e-05/0.3636, allocations: 119.3 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.3637, allocations: 4 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.3639, allocations: 72.72 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3639, allocations: 4 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3639, allocations: 0 / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.364, allocations: 0 / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.3641, allocations: 169.6 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3641, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.649e-05/0.3642, allocations: 12.22 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3642, allocations: 0 / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.3642, allocations: 4 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3642, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3642, allocations: 4 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.3645, allocations: 175.4 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.3645, allocations: 81.02 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3646, allocations: 4 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.72e-05/0.3647, allocations: 3.984 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.3647, allocations: 4 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.3647, allocations: 3.984 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.72e-05/0.3648, allocations: 83.28 kB / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3648, allocations: 0 / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000223/0.365, allocations: 4 kB / 1.056 GB, free: 4.094 MB / 0.8106 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.0001049/0.3651, allocations: 99.25 kB / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.3653, allocations: 39.95 kB / 1.056 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3653, allocations: 0 / 1.056 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.233e-05/0.3654, allocations: 23.92 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.3657, allocations: 10 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.366, allocations: 140.3 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.3663, allocations: 0.6731 MB / 1.057 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.502e-05/0.3663, allocations: 3.984 kB / 1.057 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.3663, allocations: 7.438 kB / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.3663, allocations: 4 kB / 1.057 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of Templates: time 0.002403/0.3687, allocations: 426.6 kB / 1.058 GB, free: 2.621 MB / 0.8106 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches