Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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.001648/0.001648, allocations: 108.7 kB / 16.45 MB, free: 6.453 MB / 14.72 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.001856/0.001856, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.566/1.566, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.245/3.245, allocations: 0.4899 GB / 0.7915 GB, free: 33.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 71.91 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3681, allocations: 176.1 MB / 1.321 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00268/0.3708, allocations: 1.501 MB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.3721, allocations: 0.8099 MB / 1.323 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.044e-05/0.3722, allocations: 0 / 1.323 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.3722, allocations: 3.938 kB / 1.323 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.66e-05/0.3722, allocations: 7.875 kB / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.3727, allocations: 135.5 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.672e-05/0.3728, allocations: 63.77 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.243e-05/0.3729, allocations: 15.88 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.025e-05/0.3729, allocations: 19.92 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.174e-05/0.373, allocations: 27.84 kB / 1.324 GB, free: 236 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.373, allocations: 4 kB / 1.324 GB, free: 232 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.3733, allocations: 175.8 kB / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.3734, allocations: 15.92 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.3734, allocations: 23.88 kB / 1.324 GB, free: 16 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.3737, allocations: 151.5 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3737, allocations: 4 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3737, allocations: 0 / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3737, allocations: 0 / 1.324 GB, free: 15.86 MB / 1.029 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.0006269/0.3743, allocations: 397 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.3744, allocations: 15.98 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.3744, allocations: 4.891 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.3745, allocations: 176.3 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.3746, allocations: 4.312 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.3746, allocations: 4.375 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.3748, allocations: 78.19 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3748, allocations: 192 / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3748, allocations: 3.938 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3749, allocations: 3.984 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.3752, allocations: 79.86 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.3756, allocations: 284.7 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.3758, allocations: 54.55 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.376, allocations: 40.91 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/0.3762, allocations: 93.09 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.3762, allocations: 30.56 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3762, allocations: 0 / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005896/0.3768, allocations: 129.5 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.3768, allocations: 55.39 kB / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.377, allocations: 121.8 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.377, allocations: 25.7 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.377, allocations: 88.14 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.3771, allocations: 11.91 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.3771, allocations: 21.7 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3772, allocations: 318.8 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.3774, allocations: 35.95 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.3776, allocations: 31.97 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.3779, allocations: 76.72 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3779, allocations: 0 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003585/0.3782, allocations: 97.56 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3782, allocations: 6.5 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3782, allocations: 0 / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.3783, allocations: 0 / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.3784, allocations: 23.97 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3784, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.104e-05/0.3785, allocations: 15.94 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.3785, allocations: 0 / 1.326 GB, free: 13.34 MB / 1.029 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 0.0001145/0.3786, allocations: 120.6 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.3787, allocations: 0 / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000443/0.3791, allocations: 117.4 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3791, allocations: 0 / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3791, allocations: 4 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3791, allocations: 0 / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.3793, allocations: 177.5 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3793, allocations: 0 / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.3794, allocations: 15.98 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3795, allocations: 0 / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3795, allocations: 7.984 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3795, allocations: 0 / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3795, allocations: 0 / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.3799, allocations: 203.7 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.38, allocations: 81.06 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.38, allocations: 4 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.3801, allocations: 15.97 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.3802, allocations: 3.938 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.3802, allocations: 4 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.311e-05/0.3803, allocations: 95.27 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3803, allocations: 0 / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003295/0.3806, allocations: 31.88 kB / 1.327 GB, free: 12.37 MB / 1.029 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.0002626/0.3808, allocations: 135.2 kB / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003904/0.3812, allocations: 67.92 kB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3812, allocations: 0 / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.3814, allocations: 35.95 kB / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.3817, allocations: 23.94 kB / 1.327 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.3821, allocations: 158.8 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.3824, allocations: 0.6807 MB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.3825, allocations: 4 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.3825, allocations: 7.438 kB / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3825, allocations: 4 kB / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of Templates: time 0.004352/0.3869, allocations: 1.417 MB / 1.33 GB, free: 9.793 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.960645115934312]