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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009399/0.00094, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.912/2.912, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.000357, allocations: 9.906 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3651, allocations: 159.6 MB / 1.058 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001896/0.3671, allocations: 1.202 MB / 1.059 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003229/0.3674, allocations: 115.7 kB / 1.059 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.3675, allocations: 7.938 kB / 1.059 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.3675, allocations: 3.984 kB / 1.059 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.506e-05/0.3676, allocations: 7.922 kB / 1.059 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.3679, allocations: 55.05 kB / 1.059 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.92e-05/0.368, allocations: 51.84 kB / 1.059 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3681, allocations: 19.98 kB / 1.059 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.897e-05/0.3682, allocations: 15.92 kB / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.048e-05/0.3683, allocations: 23.91 kB / 1.059 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.3683, allocations: 0 / 1.059 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.433e-05/0.3683, allocations: 4 kB / 1.059 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.3683, allocations: 8 kB / 1.059 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.3684, allocations: 29.64 kB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.495e-05/0.3685, allocations: 43.91 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3685, allocations: 0 / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3685, allocations: 0 / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3685, allocations: 0 / 1.06 GB, free: 3.727 MB / 0.8106 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.0005366/0.3691, allocations: 367.4 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3691, allocations: 12.03 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.3692, allocations: 3.938 kB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.3693, allocations: 178.9 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.673e-05/0.3694, allocations: 33.7 kB / 1.06 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.3694, allocations: 4 kB / 1.06 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.3697, allocations: 85.58 kB / 1.06 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.3697, allocations: 0 / 1.06 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3697, allocations: 0 / 1.06 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3697, allocations: 4 kB / 1.06 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.3699, allocations: 55.95 kB / 1.06 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/0.3705, allocations: 332.8 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.3707, allocations: 54.5 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3708, allocations: 40.92 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.3708, allocations: 0 / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.3708, allocations: 30.56 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.755e-06/0.3709, allocations: 0 / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003782/0.3712, allocations: 125.4 kB / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.3713, allocations: 51.41 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.597e-05/0.3714, allocations: 109.8 kB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.3714, allocations: 33.7 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.3715, allocations: 88.06 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.3715, allocations: 15.81 kB / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.3715, allocations: 4 kB / 1.061 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.3716, allocations: 318.8 kB / 1.061 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.006e-05/0.3717, allocations: 23.98 kB / 1.061 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.514e-05/0.3718, allocations: 41.7 kB / 1.061 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.083e-05/0.3719, allocations: 27.97 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3719, allocations: 0 / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002272/0.3722, allocations: 101.5 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3722, allocations: 4 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.3722, allocations: 0 / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3722, allocations: 0 / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3723, allocations: 19.98 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3723, allocations: 4 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/0.3724, allocations: 7.984 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.3724, allocations: 11.95 kB / 1.062 GB, free: 1.352 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.81e-05/0.3725, allocations: 109.8 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.3725, allocations: 4 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.3726, allocations: 7.844 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3726, allocations: 0 / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.3726, allocations: 4.125 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3726, allocations: 4 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.3728, allocations: 181.5 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3728, allocations: 3.938 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.502e-05/0.3729, allocations: 19.98 kB / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3729, allocations: 0 / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.3729, allocations: 0 / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3729, allocations: 0 / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3729, allocations: 0 / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.3732, allocations: 187.5 kB / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.3732, allocations: 89.03 kB / 1.062 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.3732, allocations: 0 / 1.062 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3734, allocations: 19.92 kB / 1.062 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.3734, allocations: 288 / 1.062 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.3734, allocations: 11.94 kB / 1.062 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.55e-05/0.3735, allocations: 91.56 kB / 1.062 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3735, allocations: 0 / 1.062 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002287/0.3737, allocations: 11.91 kB / 1.062 GB, free: 0.5234 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001242/0.3739, allocations: 99.25 kB / 1.062 GB, free: 428 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.3741, allocations: 63.94 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3741, allocations: 4 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.326e-05/0.3742, allocations: 35.91 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.3745, allocations: 7.953 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.3748, allocations: 144.8 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.3751, allocations: 0.6848 MB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.329e-05/0.3752, allocations: 4 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.3752, allocations: 11.44 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3752, allocations: 4 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of Templates: time 0.003053/0.3783, allocations: 0.681 MB / 1.064 GB, free: 14.74 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches