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.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.001591/0.001591, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001711/0.001711, allocations: 191.9 kB / 22.11 MB, free: 5.156 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.5/1.5, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.164/3.164, allocations: 495.8 MB / 0.783 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.77 kB / 1.137 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3413, allocations: 173.6 MB / 1.307 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002786/0.3441, allocations: 1.518 MB / 1.308 GB, free: 360 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.3455, allocations: 0.8138 MB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.3455, allocations: 0 / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.3455, allocations: 7.938 kB / 1.309 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.312e-05/0.3456, allocations: 7.922 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.346, allocations: 131.4 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.3461, allocations: 55.78 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.559e-05/0.3462, allocations: 11.94 kB / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.765e-05/0.3463, allocations: 19.92 kB / 1.309 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/0.3463, allocations: 23.92 kB / 1.309 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.3464, allocations: 4 kB / 1.309 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.3467, allocations: 167.7 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.589e-05/0.3467, allocations: 19.92 kB / 1.309 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.3467, allocations: 15.92 kB / 1.309 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.347, allocations: 143.5 kB / 1.31 GB, free: 14.94 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.347, allocations: 0 / 1.31 GB, free: 14.94 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.182e-06/0.347, allocations: 0 / 1.31 GB, free: 14.94 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.347, allocations: 3.984 kB / 1.31 GB, free: 14.93 MB / 1.014 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.0005827/0.3476, allocations: 321.9 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3477, allocations: 19.91 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.3477, allocations: 4.938 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.3478, allocations: 114.4 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3478, allocations: 384 / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.3478, allocations: 4.375 kB / 1.31 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.3481, allocations: 86.17 kB / 1.31 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3481, allocations: 192 / 1.31 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.3482, allocations: 3.938 kB / 1.31 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3482, allocations: 4 kB / 1.31 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.3485, allocations: 71.86 kB / 1.31 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.3489, allocations: 247.9 kB / 1.31 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.3491, allocations: 66.52 kB / 1.31 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.3493, allocations: 32.92 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.3494, allocations: 11.98 kB / 1.311 GB, free: 13.85 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.3495, allocations: 46.44 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3495, allocations: 0 / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005868/0.3501, allocations: 133.5 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.3501, allocations: 51.41 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3502, allocations: 117.8 kB / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3502, allocations: 25.7 kB / 1.311 GB, free: 13.44 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.3503, allocations: 92.12 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.3503, allocations: 11.89 kB / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.3503, allocations: 17.72 kB / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3505, allocations: 318.8 kB / 1.311 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.3507, allocations: 27.97 kB / 1.311 GB, free: 12.96 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.3508, allocations: 39.95 kB / 1.311 GB, free: 12.92 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.3511, allocations: 68.73 kB / 1.311 GB, free: 12.85 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3511, allocations: 4 kB / 1.311 GB, free: 12.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003448/0.3514, allocations: 101.6 kB / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3515, allocations: 4 kB / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3515, allocations: 4 kB / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3515, allocations: 0 / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3516, allocations: 15.98 kB / 1.312 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3516, allocations: 3.938 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.3517, allocations: 15.98 kB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.3517, allocations: 0 / 1.312 GB, free: 12.7 MB / 1.014 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 9.557e-05/0.3518, allocations: 121.7 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.3519, allocations: 7.953 kB / 1.312 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004046/0.3523, allocations: 109.5 kB / 1.312 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3523, allocations: 0 / 1.312 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3523, allocations: 0 / 1.312 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3523, allocations: 4 kB / 1.312 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.3525, allocations: 144.7 kB / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3525, allocations: 0 / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.3526, allocations: 19.98 kB / 1.312 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3526, allocations: 0 / 1.312 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.3526, allocations: 4 kB / 1.312 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3526, allocations: 0 / 1.312 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3526, allocations: 0 / 1.312 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.353, allocations: 203.7 kB / 1.312 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.353, allocations: 7.953 kB / 1.312 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.353, allocations: 0 / 1.312 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.3532, allocations: 15.98 kB / 1.312 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.3532, allocations: 8.016 kB / 1.312 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.3532, allocations: 4 kB / 1.312 GB, free: 11.98 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.904e-05/0.3533, allocations: 91.27 kB / 1.312 GB, free: 11.89 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3533, allocations: 3.938 kB / 1.312 GB, free: 11.89 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002791/0.3535, allocations: 39.88 kB / 1.312 GB, free: 11.85 MB / 1.014 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.0002244/0.3538, allocations: 128 kB / 1.312 GB, free: 11.71 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003691/0.3541, allocations: 71.84 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3541, allocations: 0 / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.3543, allocations: 39.91 kB / 1.313 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.3546, allocations: 20.88 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.355, allocations: 139.4 kB / 1.313 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.3554, allocations: 0.6885 MB / 1.313 GB, free: 10.71 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.336e-05/0.3554, allocations: 4 kB / 1.313 GB, free: 10.71 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.3554, allocations: 15.44 kB / 1.313 GB, free: 10.69 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/0.3554, allocations: 0 / 1.313 GB, free: 10.69 MB / 1.014 GB Notification: Performance of Templates: time 0.00456/0.36, allocations: 1.387 MB / 1.315 GB, free: 9.316 MB / 1.014 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.88194248918444]