Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008755/0.0008754, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0009663/0.0009666, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.936/2.936, allocations: 437.7 MB / 0.7117 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004921, allocations: 11.94 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8072/0.8078, allocations: 153.8 MB / 1.022 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001595/0.8094, allocations: 0.9994 MB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1583/0.9678, allocations: 134.1 MB / 1.154 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.691e-05/0.9679, allocations: 3.938 kB / 1.154 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.968, allocations: 0 / 1.154 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 9.796e-05/0.9681, allocations: 7.922 kB / 1.154 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007793/0.9689, allocations: 103.5 kB / 1.154 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.392e-05/0.969, allocations: 23.86 kB / 1.154 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.307e-05/0.9691, allocations: 4 kB / 1.154 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.299e-05/0.9691, allocations: 4 kB / 1.154 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.9692, allocations: 0 / 1.154 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.9692, allocations: 4 kB / 1.154 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005799/0.9698, allocations: 175.6 kB / 1.155 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.9698, allocations: 4 kB / 1.155 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.9699, allocations: 25.7 kB / 1.155 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.9701, allocations: 81.83 kB / 1.155 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/0.9701, allocations: 0 / 1.155 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.355e-06/0.9702, allocations: 0 / 1.155 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.9702, allocations: 0 / 1.155 GB, free: 8.27 MB / 0.9044 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.0004652/0.9707, allocations: 351.3 kB / 1.155 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.9707, allocations: 8.031 kB / 1.155 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006522/0.9714, allocations: 35.95 kB / 1.155 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.9716, allocations: 174.9 kB / 1.155 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.9716, allocations: 7.938 kB / 1.155 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.9716, allocations: 0 / 1.155 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.972, allocations: 53.64 kB / 1.155 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.972, allocations: 0 / 1.155 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.972, allocations: 0 / 1.155 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.9721, allocations: 0 / 1.155 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.9722, allocations: 23.97 kB / 1.155 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.9727, allocations: 248.9 kB / 1.156 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.446e-05/0.9728, allocations: 26.52 kB / 1.156 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.9728, allocations: 16.92 kB / 1.156 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.9728, allocations: 0 / 1.156 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.9729, allocations: 38.55 kB / 1.156 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.9729, allocations: 0 / 1.156 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0001866/0.9731, allocations: 41.61 kB / 1.156 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.9731, allocations: 59.34 kB / 1.156 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.9733, allocations: 105.8 kB / 1.156 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.9733, allocations: 25.7 kB / 1.156 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.172e-05/0.9734, allocations: 92.19 kB / 1.156 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.9734, allocations: 7.906 kB / 1.156 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.9734, allocations: 0 / 1.156 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.9736, allocations: 318.8 kB / 1.156 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.9737, allocations: 7.984 kB / 1.156 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.231e-05/0.9737, allocations: 11.98 kB / 1.156 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.75e-05/0.9738, allocations: 12 kB / 1.156 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.9738, allocations: 4 kB / 1.156 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001802/0.974, allocations: 57.66 kB / 1.156 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.974, allocations: 5.562 kB / 1.156 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.974, allocations: 0 / 1.156 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.974, allocations: 4 kB / 1.156 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.9742, allocations: 11.92 kB / 1.156 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.9742, allocations: 0 / 1.156 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.9743, allocations: 12 kB / 1.156 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.9743, allocations: 3.984 kB / 1.156 GB, free: 6.324 MB / 0.9044 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.9744, allocations: 113.8 kB / 1.157 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.9745, allocations: 7.906 kB / 1.157 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.9745, allocations: 7.125 kB / 1.157 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.9745, allocations: 3.938 kB / 1.157 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.9745, allocations: 0 / 1.157 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.9745, allocations: 0 / 1.157 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.9747, allocations: 157.6 kB / 1.157 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.9747, allocations: 0 / 1.157 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.9748, allocations: 7.938 kB / 1.157 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.9748, allocations: 3.984 kB / 1.157 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.9748, allocations: 0 / 1.157 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.9748, allocations: 0 / 1.157 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9748, allocations: 0 / 1.157 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.975, allocations: 143.8 kB / 1.157 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.947e-05/0.9751, allocations: 85.12 kB / 1.157 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.9751, allocations: 0 / 1.157 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.336e-05/0.9752, allocations: 4 kB / 1.157 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.9752, allocations: 7.969 kB / 1.157 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.9752, allocations: 0 / 1.157 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001118/0.9753, allocations: 91.27 kB / 1.157 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.9753, allocations: 0 / 1.157 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002698/0.9756, allocations: 16 kB / 1.157 GB, free: 5.594 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000243/0.9759, allocations: 111.2 kB / 1.157 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001512/0.976, allocations: 19.98 kB / 1.157 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.976, allocations: 0 / 1.157 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.61e-05/0.9761, allocations: 7.938 kB / 1.157 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.9765, allocations: 8 kB / 1.157 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.9769, allocations: 138.5 kB / 1.157 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.9773, allocations: 0.677 MB / 1.158 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.632e-05/0.9774, allocations: 8 kB / 1.158 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.9774, allocations: 11.42 kB / 1.158 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of SimCode: time 8.02e-07/0.9774, allocations: 3.938 kB / 1.158 GB, free: 4.555 MB / 0.9044 GB Notification: Performance of Templates: time 0.003988/0.9814, allocations: 0.6915 MB / 1.159 GB, free: 3.867 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches