Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008758/0.0008758, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009795/0.0009795, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.888/0.888, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.731/1.731, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.739e-05, allocations: 13.31 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001519/0.001546, allocations: 1.29 MB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5639/0.5654, allocations: 129.7 MB / 1.129 GB, free: 2.902 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.241e-05/0.5655, allocations: 0 / 1.129 GB, free: 2.902 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.5655, allocations: 0.6562 kB / 1.129 GB, free: 2.902 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.625e-05/0.5656, allocations: 5.922 kB / 1.129 GB, free: 2.898 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.566, allocations: 123.6 kB / 1.129 GB, free: 2.844 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 6.714e-05/0.5661, allocations: 26.19 kB / 1.129 GB, free: 2.828 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.5661, allocations: 1.859 kB / 1.129 GB, free: 2.828 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.212e-05/0.5662, allocations: 17 kB / 1.129 GB, free: 2.82 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.355e-05/0.5662, allocations: 3.734 kB / 1.129 GB, free: 2.82 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.5662, allocations: 1 kB / 1.129 GB, free: 2.82 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003265/0.5665, allocations: 169.5 kB / 1.129 GB, free: 2.773 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.5665, allocations: 0.75 kB / 1.129 GB, free: 2.773 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 1.783e-05/0.5666, allocations: 4.562 kB / 1.129 GB, free: 2.773 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.5668, allocations: 131.4 kB / 1.129 GB, free: 2.73 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5668, allocations: 0.6562 kB / 1.129 GB, free: 2.73 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5668, allocations: 4 kB / 1.129 GB, free: 2.727 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.5668, allocations: 1.188 kB / 1.129 GB, free: 2.727 MB / 0.9948 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.000257/0.567, allocations: 278 kB / 1.13 GB, free: 2.449 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.5671, allocations: 10.19 kB / 1.13 GB, free: 2.449 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003781/0.5675, allocations: 37.16 kB / 1.13 GB, free: 2.449 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.011e-05/0.5675, allocations: 109.6 kB / 1.13 GB, free: 2.32 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.5675, allocations: 4.375 kB / 1.13 GB, free: 2.316 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.5675, allocations: 2.812 kB / 1.13 GB, free: 2.316 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.5677, allocations: 51.11 kB / 1.13 GB, free: 2.277 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.5677, allocations: 1.156 kB / 1.13 GB, free: 2.277 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.5677, allocations: 3.984 kB / 1.13 GB, free: 2.273 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.5677, allocations: 9.781 kB / 1.13 GB, free: 2.27 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.673e-05/0.5678, allocations: 15.59 kB / 1.13 GB, free: 2.27 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.568, allocations: 202.8 kB / 1.13 GB, free: 2.062 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.473e-05/0.568, allocations: 29.73 kB / 1.13 GB, free: 2.031 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.898e-05/0.5681, allocations: 8.875 kB / 1.13 GB, free: 2.023 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-06/0.5681, allocations: 0 / 1.13 GB, free: 2.023 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.5681, allocations: 37.39 kB / 1.13 GB, free: 1.98 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.5681, allocations: 0 / 1.13 GB, free: 1.98 MB / 0.9948 GB Notification: Performance of matching and sorting (n=2): time 0.0001301/0.5682, allocations: 41.91 kB / 1.13 GB, free: 1.945 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.5682, allocations: 57.2 kB / 1.13 GB, free: 1.879 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/0.5683, allocations: 121 kB / 1.13 GB, free: 1.766 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.5683, allocations: 27.2 kB / 1.13 GB, free: 1.734 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.54e-05/0.5683, allocations: 81.8 kB / 1.13 GB, free: 1.652 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.653e-06/0.5684, allocations: 5.781 kB / 1.13 GB, free: 1.648 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.5684, allocations: 22.58 kB / 1.13 GB, free: 1.629 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.964e-05/0.5684, allocations: 313.5 kB / 1.131 GB, free: 1.316 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.5685, allocations: 8.297 kB / 1.131 GB, free: 1.316 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.5685, allocations: 9.297 kB / 1.131 GB, free: 1.316 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.415e-05/0.5685, allocations: 26.7 kB / 1.131 GB, free: 1.301 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5685, allocations: 3.938 kB / 1.131 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000108/0.5687, allocations: 61.09 kB / 1.131 GB, free: 1.258 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.5687, allocations: 6.406 kB / 1.131 GB, free: 1.258 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5687, allocations: 0.5156 kB / 1.131 GB, free: 1.258 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.5687, allocations: 1.375 kB / 1.131 GB, free: 1.258 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.717e-05/0.5688, allocations: 9.812 kB / 1.131 GB, free: 1.258 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.5688, allocations: 0 / 1.131 GB, free: 1.258 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.022e-05/0.5688, allocations: 16.34 kB / 1.131 GB, free: 1.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.5688, allocations: 4.438 kB / 1.131 GB, free: 1.25 MB / 0.9948 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 4.378e-05/0.5689, allocations: 111.9 kB / 1.131 GB, free: 1.133 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.5689, allocations: 5.891 kB / 1.131 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.628e-05/0.5689, allocations: 5.5 kB / 1.131 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.5689, allocations: 0 / 1.131 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5689, allocations: 1.219 kB / 1.131 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5689, allocations: 0.7969 kB / 1.131 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.501e-05/0.569, allocations: 106 kB / 1.131 GB, free: 1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.569, allocations: 8.641 kB / 1.131 GB, free: 0.9922 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.308e-06/0.569, allocations: 7.312 kB / 1.131 GB, free: 0.9883 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.569, allocations: 0.5625 kB / 1.131 GB, free: 0.9883 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.569, allocations: 1.125 kB / 1.131 GB, free: 0.9883 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.569, allocations: 3.938 kB / 1.131 GB, free: 0.9844 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.569, allocations: 1.812 kB / 1.131 GB, free: 0.9844 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.421e-05/0.5691, allocations: 131.9 kB / 1.131 GB, free: 0.8516 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.5691, allocations: 7.062 kB / 1.131 GB, free: 0.8477 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.5691, allocations: 1.656 kB / 1.131 GB, free: 0.8477 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.623e-05/0.5691, allocations: 7.641 kB / 1.131 GB, free: 0.8438 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.5691, allocations: 6.062 kB / 1.131 GB, free: 0.8398 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.91e-07/0.5691, allocations: 0 / 1.131 GB, free: 0.8398 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 4.41e-05/0.5692, allocations: 91.98 kB / 1.131 GB, free: 0.7617 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5692, allocations: 0 / 1.131 GB, free: 0.7617 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001645/0.5694, allocations: 16.84 kB / 1.131 GB, free: 0.7578 MB / 0.9948 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.0001452/0.5695, allocations: 114.5 kB / 1.131 GB, free: 0.6641 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.5696, allocations: 25.17 kB / 1.131 GB, free: 0.6562 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.5696, allocations: 0 / 1.131 GB, free: 0.6562 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.664e-06/0.5696, allocations: 4.078 kB / 1.131 GB, free: 0.6562 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.5699, allocations: 14.27 kB / 1.131 GB, free: 0.6484 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002293/0.5701, allocations: 137.2 kB / 1.132 GB, free: 0.5156 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.208e-05/0.5701, allocations: 58.34 kB / 1.132 GB, free: 456 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.5701, allocations: 13.88 kB / 1.132 GB, free: 456 kB / 0.9948 GB Notification: Performance of SimCode: time 5.01e-07/0.5701, allocations: 4.062 kB / 1.132 GB, free: 452 kB / 0.9948 GB Notification: Performance of Templates: time 0.001944/0.5721, allocations: 0.8334 MB / 1.132 GB, free: 404 kB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.016929696314037]