Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.001753/0.001753, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002439/0.002439, allocations: 214.8 kB / 23.04 MB, free: 4.859 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.25/3.25, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [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.00213/0.00213, allocations: 66.61 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4402, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003048/0.4432, allocations: 1.511 MB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0003781/0.4436, allocations: 135.6 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.4436, allocations: 0 / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.4437, allocations: 7.938 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.055e-05/0.4437, allocations: 7.938 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.4441, allocations: 63.84 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.4442, allocations: 59.88 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.4443, allocations: 12 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.801e-05/0.4444, allocations: 27.92 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.388e-05/0.4444, allocations: 19.91 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.4445, allocations: 7.938 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.025e-05/0.4445, allocations: 8 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.4445, allocations: 11.98 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/0.4446, allocations: 23.92 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.4447, allocations: 59.72 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4447, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4447, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.4447, allocations: 3.938 kB / 1.329 GB, free: 15.04 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005754/0.4453, allocations: 302.2 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.4453, allocations: 8.031 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.4454, allocations: 8.891 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.4455, allocations: 118.5 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.906e-05/0.4456, allocations: 63.97 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-06/0.4456, allocations: 384 / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.4459, allocations: 99.92 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4459, allocations: 3.938 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.4459, allocations: 4 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.4459, allocations: 4 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.4461, allocations: 47.89 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006074/0.4467, allocations: 260.4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.4468, allocations: 42.55 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.4469, allocations: 36.88 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.4469, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.447, allocations: 34.5 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.447, allocations: 3.938 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003944/0.4474, allocations: 101.6 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.4474, allocations: 51.41 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.4475, allocations: 109.8 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.4475, allocations: 25.7 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.4476, allocations: 92.09 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.4476, allocations: 15.84 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.4477, allocations: 21.7 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4478, allocations: 314.8 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.031e-05/0.4479, allocations: 23.98 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.448, allocations: 37.62 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.4482, allocations: 57.62 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4482, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002348/0.4484, allocations: 89.61 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4485, allocations: 8 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4485, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4485, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.4486, allocations: 15.98 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.4486, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.422e-05/0.4486, allocations: 7.953 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.4486, allocations: 8 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.238e-05/0.4487, allocations: 110.3 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.4488, allocations: 7.984 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.4488, allocations: 12.23 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4488, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4488, allocations: 3.984 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4488, allocations: 4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.449, allocations: 117.2 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.449, allocations: 4.062 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.079e-05/0.449, allocations: 15.98 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.449, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.449, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.449, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.449, allocations: 8 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.4493, allocations: 175.4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.253e-05/0.4493, allocations: 7.984 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.4493, allocations: 3.938 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.4495, allocations: 11.98 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.4495, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.4495, allocations: 7.938 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.947e-05/0.4496, allocations: 91.56 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4496, allocations: 0 / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002231/0.4498, allocations: 15.95 kB / 1.332 GB, free: 12.2 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 (4): * Single equations (assignments): 4 * 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.0001218/0.4499, allocations: 103.2 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.4502, allocations: 47.95 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4502, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.346e-05/0.4502, allocations: 31.91 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.4506, allocations: 8 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.4509, allocations: 159.3 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.369e-05/0.451, allocations: 69.2 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.451, allocations: 11.44 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of SimCode: time 7.51e-07/0.451, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of Templates: time 0.00263/0.4537, allocations: 0.8686 MB / 1.333 GB, free: 10.86 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.305332985008135]