Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 111.1 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.993/2.993, allocations: 489.3 MB / 0.7687 GB, free: 3.789 MB / 0.6075 GB " [Timeout remaining time 176] 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.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002226, allocations: 71.88 kB / 1.103 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9415/0.9437, allocations: 163.8 MB / 1.263 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00273/0.9465, allocations: 1.495 MB / 1.264 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.9478, allocations: 0.81 MB / 1.265 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.9478, allocations: 4.812 kB / 1.265 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.9479, allocations: 5.156 kB / 1.265 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.159e-05/0.948, allocations: 10 kB / 1.265 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.9485, allocations: 130.9 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.9486, allocations: 51.2 kB / 1.265 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.9487, allocations: 21.06 kB / 1.265 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.439e-05/0.9488, allocations: 22.59 kB / 1.265 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.591e-05/0.9488, allocations: 21.12 kB / 1.265 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.9488, allocations: 5 kB / 1.265 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003899/0.9492, allocations: 176.2 kB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.9493, allocations: 7.484 kB / 1.265 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.9493, allocations: 24.8 kB / 1.265 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.9496, allocations: 143.1 kB / 1.265 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.9496, allocations: 0 / 1.265 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.344e-06/0.9496, allocations: 1.031 kB / 1.265 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.9497, allocations: 4 kB / 1.265 GB, free: 6.195 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005502/0.9502, allocations: 401 kB / 1.266 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.9503, allocations: 9.156 kB / 1.266 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.9503, allocations: 8.188 kB / 1.266 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.484e-05/0.9504, allocations: 173 kB / 1.266 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.9504, allocations: 1.875 kB / 1.266 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.9504, allocations: 10.75 kB / 1.266 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.9507, allocations: 89.27 kB / 1.266 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.9508, allocations: 192 / 1.266 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.9508, allocations: 3.938 kB / 1.266 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.9508, allocations: 1.031 kB / 1.266 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.9511, allocations: 65.19 kB / 1.266 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.9515, allocations: 295.3 kB / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.9517, allocations: 55.31 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.9519, allocations: 37 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.952, allocations: 92.88 kB / 1.267 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.9521, allocations: 36.77 kB / 1.267 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.9521, allocations: 0 / 1.267 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0006072/0.9527, allocations: 133.3 kB / 1.267 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.9527, allocations: 56.34 kB / 1.267 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.826e-05/0.9528, allocations: 118.2 kB / 1.267 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.9528, allocations: 25.7 kB / 1.267 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.9529, allocations: 87.58 kB / 1.267 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.9529, allocations: 10.19 kB / 1.267 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.9529, allocations: 13.48 kB / 1.267 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.189e-05/0.953, allocations: 323 kB / 1.267 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.9531, allocations: 34.52 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.9533, allocations: 31.59 kB / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.9536, allocations: 66.83 kB / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.9536, allocations: 0.5625 kB / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003359/0.9539, allocations: 107 kB / 1.268 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.954, allocations: 7.375 kB / 1.268 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.954, allocations: 0.7031 kB / 1.268 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.954, allocations: 1 kB / 1.268 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.9541, allocations: 15.59 kB / 1.268 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.9541, allocations: 0 / 1.268 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.651e-05/0.9542, allocations: 15.92 kB / 1.268 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.9542, allocations: 1.562 kB / 1.268 GB, free: 4.27 MB / 0.9981 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 5.62e-05/0.9543, allocations: 119.6 kB / 1.268 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.9543, allocations: 11.11 kB / 1.268 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003949/0.9547, allocations: 109.9 kB / 1.268 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.9548, allocations: 4.75 kB / 1.268 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.9548, allocations: 1 kB / 1.268 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.9548, allocations: 0.9844 kB / 1.268 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.9549, allocations: 172.7 kB / 1.268 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.9549, allocations: 0.5625 kB / 1.268 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.713e-05/0.955, allocations: 15.73 kB / 1.268 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.955, allocations: 0.8125 kB / 1.268 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.9551, allocations: 1.172 kB / 1.268 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.9551, allocations: 0 / 1.268 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9551, allocations: 9.328 kB / 1.268 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.9554, allocations: 206.1 kB / 1.268 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.9555, allocations: 83.8 kB / 1.268 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.9555, allocations: 0.9375 kB / 1.268 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.9556, allocations: 11.75 kB / 1.268 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.9557, allocations: 8.234 kB / 1.268 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.9557, allocations: 0.6562 kB / 1.268 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.156e-05/0.9557, allocations: 96.56 kB / 1.268 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9557, allocations: 4.719 kB / 1.268 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003009/0.956, allocations: 27.81 kB / 1.268 GB, free: 3.523 MB / 0.9981 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.0002236/0.9563, allocations: 130.2 kB / 1.269 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003927/0.9567, allocations: 70.91 kB / 1.269 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9567, allocations: 0 / 1.269 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.9569, allocations: 39.36 kB / 1.269 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.9572, allocations: 14.61 kB / 1.269 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.9575, allocations: 179 kB / 1.269 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.9576, allocations: 0.6906 MB / 1.27 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.9577, allocations: 9.875 kB / 1.27 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.9577, allocations: 1.531 kB / 1.27 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of Templates: time 0.003436/0.9611, allocations: 1.227 MB / 1.271 GB, free: 2.402 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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: 11.334357036044821]