Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00116/0.00116, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.001051/0.001051, allocations: 188.7 kB / 17.34 MB, free: 5.633 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7767/0.7781, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002301/0.7805, allocations: 1.281 MB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1838/0.9643, allocations: 147.6 MB / 1.234 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.9644, allocations: 4 kB / 1.234 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.9644, allocations: 0 / 1.234 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.014e-05/0.9645, allocations: 9.297 kB / 1.234 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.9651, allocations: 112.9 kB / 1.234 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.298e-05/0.9651, allocations: 29.58 kB / 1.234 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.9652, allocations: 1.562 kB / 1.234 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.792e-05/0.9652, allocations: 12.17 kB / 1.234 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.643e-05/0.9653, allocations: 7.125 kB / 1.234 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.9653, allocations: 5.094 kB / 1.234 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004671/0.9658, allocations: 178 kB / 1.234 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.9658, allocations: 1.219 kB / 1.234 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.9658, allocations: 7.375 kB / 1.234 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.9661, allocations: 106.1 kB / 1.234 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.9661, allocations: 4 kB / 1.234 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9661, allocations: 0 / 1.234 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.9661, allocations: 0 / 1.234 GB, free: 5.469 MB / 0.9669 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.0003967/0.9665, allocations: 347.7 kB / 1.235 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.9666, allocations: 14.38 kB / 1.235 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005672/0.9672, allocations: 45.83 kB / 1.235 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.9673, allocations: 165.6 kB / 1.235 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.9673, allocations: 7.922 kB / 1.235 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.9673, allocations: 1.281 kB / 1.235 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.9675, allocations: 45.92 kB / 1.235 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.9675, allocations: 0 / 1.235 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.9676, allocations: 4 kB / 1.235 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.9676, allocations: 1.156 kB / 1.235 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.9677, allocations: 18.34 kB / 1.235 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.9681, allocations: 247.5 kB / 1.235 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.707e-05/0.9682, allocations: 31.48 kB / 1.235 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.9682, allocations: 16.89 kB / 1.235 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.9682, allocations: 0 / 1.235 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.9682, allocations: 35.84 kB / 1.235 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.9682, allocations: 0 / 1.235 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001661/0.9684, allocations: 40.08 kB / 1.235 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.9685, allocations: 55.53 kB / 1.236 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.9686, allocations: 115.5 kB / 1.236 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.9686, allocations: 26.86 kB / 1.236 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.9687, allocations: 89.08 kB / 1.236 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.997e-06/0.9687, allocations: 5.062 kB / 1.236 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.9688, allocations: 21.17 kB / 1.236 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.9689, allocations: 316 kB / 1.236 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.553e-05/0.969, allocations: 13.7 kB / 1.236 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.116e-05/0.969, allocations: 10.05 kB / 1.236 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.941e-05/0.9691, allocations: 23.22 kB / 1.236 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9692, allocations: 0 / 1.236 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001927/0.9693, allocations: 59.17 kB / 1.236 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.9694, allocations: 12.41 kB / 1.236 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.9694, allocations: 3.938 kB / 1.236 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.9694, allocations: 1.5 kB / 1.236 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.9695, allocations: 13.73 kB / 1.236 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.9695, allocations: 0 / 1.236 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.9697, allocations: 13.8 kB / 1.236 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.9697, allocations: 5.469 kB / 1.236 GB, free: 3.652 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.388e-05/0.9698, allocations: 113.8 kB / 1.236 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.9698, allocations: 1.312 kB / 1.236 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.9699, allocations: 3.125 kB / 1.236 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.9699, allocations: 5.484 kB / 1.236 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.9699, allocations: 0 / 1.236 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.9699, allocations: 3.938 kB / 1.236 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.97, allocations: 154 kB / 1.236 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.9701, allocations: 0 / 1.236 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.9701, allocations: 2.969 kB / 1.236 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.9701, allocations: 0 / 1.236 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.9701, allocations: 0 / 1.236 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.9701, allocations: 5.312 kB / 1.236 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9701, allocations: 4 kB / 1.236 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.9702, allocations: 145.3 kB / 1.237 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.9703, allocations: 78.52 kB / 1.237 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.9703, allocations: 0 / 1.237 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.9704, allocations: 6.469 kB / 1.237 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.9704, allocations: 1.375 kB / 1.237 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.9705, allocations: 7.969 kB / 1.237 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.853e-05/0.9706, allocations: 91.02 kB / 1.237 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9706, allocations: 1.312 kB / 1.237 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002634/0.9708, allocations: 18.97 kB / 1.237 GB, free: 2.977 MB / 0.9669 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.0001974/0.971, allocations: 104.7 kB / 1.237 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.9712, allocations: 27.73 kB / 1.237 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.9712, allocations: 1.094 kB / 1.237 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.456e-05/0.9712, allocations: 7.219 kB / 1.237 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.9716, allocations: 8.703 kB / 1.237 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.9719, allocations: 154.8 kB / 1.237 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.9722, allocations: 0.6735 MB / 1.238 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.9723, allocations: 17.77 kB / 1.238 GB, free: 2 MB / 0.9669 GB Notification: Performance of SimCode: time 1.452e-06/0.9723, allocations: 0 / 1.238 GB, free: 2 MB / 0.9669 GB Notification: Performance of Templates: time 0.002388/0.9747, allocations: 0.81 MB / 1.239 GB, free: 1.582 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches