Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001304/0.001304, allocations: 79.42 kB / 19.76 MB, free: 1.875 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.001478/0.001478, allocations: 165.6 kB / 23.01 MB, free: 4.598 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.454/1.454, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] 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 2.897/2.897, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_latest_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_latest_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.002445/0.002445, allocations: 63.89 kB / 1.009 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8505/0.8529, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.00257/0.8555, allocations: 1.516 MB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002901/0.8558, allocations: 124.5 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.188e-05/0.8558, allocations: 5.25 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.671e-05/0.8558, allocations: 9.141 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.651e-05/0.8559, allocations: 13.78 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.8562, allocations: 61.14 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.945e-05/0.8563, allocations: 56.55 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.8564, allocations: 16.56 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.346e-05/0.8564, allocations: 27.42 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.8565, allocations: 19.31 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.8565, allocations: 8.781 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.608e-05/0.8565, allocations: 5.562 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.8566, allocations: 21.69 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.8566, allocations: 25.78 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.8567, allocations: 54.77 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.8567, allocations: 0 / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8567, allocations: 1.75 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.8568, allocations: 0 / 1.188 GB, free: 14.94 MB / 1.076 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.0004615/0.8572, allocations: 292.8 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.8572, allocations: 13.52 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.8573, allocations: 7.703 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.662e-05/0.8574, allocations: 116.2 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/0.8574, allocations: 59.45 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.8575, allocations: 4.391 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.8577, allocations: 99.92 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.8577, allocations: 3.938 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.8577, allocations: 4 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.8577, allocations: 1.188 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.8579, allocations: 48.91 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/0.8584, allocations: 247 kB / 1.189 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.8586, allocations: 47.52 kB / 1.189 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.863e-05/0.8587, allocations: 32.42 kB / 1.189 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.8587, allocations: 0 / 1.189 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.8587, allocations: 37.61 kB / 1.189 GB, free: 14.06 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.8587, allocations: 0 / 1.189 GB, free: 14.06 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0003785/0.8591, allocations: 103.1 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.8591, allocations: 56.78 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/0.8592, allocations: 111.4 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.8592, allocations: 26.58 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.8592, allocations: 95.94 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.8592, allocations: 10.11 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.8593, allocations: 19.42 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.371e-05/0.8593, allocations: 317.3 kB / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.652e-05/0.8594, allocations: 22.02 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.248e-05/0.8595, allocations: 33.34 kB / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.8597, allocations: 65.83 kB / 1.19 GB, free: 13.31 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8597, allocations: 0 / 1.19 GB, free: 13.31 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002164/0.8599, allocations: 87.03 kB / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.8599, allocations: 6.031 kB / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.8599, allocations: 1.812 kB / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.8599, allocations: 1.266 kB / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.86, allocations: 13.53 kB / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.86, allocations: 4.375 kB / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.075e-05/0.8601, allocations: 11.3 kB / 1.19 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.8601, allocations: 6 kB / 1.19 GB, free: 13.25 MB / 1.076 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 5.603e-05/0.8602, allocations: 121.2 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.8602, allocations: 10.97 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.8602, allocations: 9.656 kB / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.8602, allocations: 0.7969 kB / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.8602, allocations: 1.188 kB / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.8602, allocations: 0 / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.8604, allocations: 119.8 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.8604, allocations: 0 / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.317e-05/0.8604, allocations: 10.95 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.8604, allocations: 1.781 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.8604, allocations: 4 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.8604, allocations: 1 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.8604, allocations: 0.6562 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.8607, allocations: 179.6 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.8607, allocations: 13.97 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.8607, allocations: 1.781 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.8608, allocations: 10.05 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.8609, allocations: 7.594 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.8609, allocations: 7.656 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.036e-05/0.8609, allocations: 92.33 kB / 1.191 GB, free: 12.71 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8609, allocations: 0 / 1.191 GB, free: 12.71 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002277/0.8611, allocations: 7.156 kB / 1.191 GB, free: 12.71 MB / 1.076 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 7.07e-05/0.8612, allocations: 101.9 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.8614, allocations: 52.3 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8614, allocations: 1.125 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.998e-05/0.8615, allocations: 27.91 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.8618, allocations: 8.578 kB / 1.191 GB, free: 12.6 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.8621, allocations: 126.2 kB / 1.191 GB, free: 12.48 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.492e-05/0.8621, allocations: 70.67 kB / 1.191 GB, free: 12.41 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.625e-05/0.8621, allocations: 4.797 kB / 1.191 GB, free: 12.41 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.8622, allocations: 14.75 kB / 1.191 GB, free: 12.4 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/0.8622, allocations: 0 / 1.191 GB, free: 12.4 MB / 1.076 GB Notification: Performance of Templates: time 0.003375/0.8655, allocations: 0.8521 MB / 1.192 GB, free: 12.28 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.572127296938561]