Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_10_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_10_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.008269/0.008274, allocations: 99.44 kB / 15.73 MB, free: 6.035 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.002032/0.002032, allocations: 193.4 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 437 MB / 0.7105 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 59.91 kB / 1.019 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3605, allocations: 151.6 MB / 1.167 GB, free: 6.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002813/0.3634, allocations: 1.494 MB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003307/0.3637, allocations: 127.6 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.5e-05/0.3638, allocations: 0 / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.3638, allocations: 3.938 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.618e-05/0.3639, allocations: 11.86 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.3643, allocations: 67.53 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.3644, allocations: 59.89 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3645, allocations: 23.97 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.931e-05/0.3646, allocations: 23.92 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.505e-05/0.3647, allocations: 27.8 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.3647, allocations: 4 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.742e-05/0.3647, allocations: 4 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.3647, allocations: 19.97 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.3648, allocations: 27.86 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.3649, allocations: 59.72 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3649, allocations: 0 / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3649, allocations: 0 / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.928e-06/0.365, allocations: 0 / 1.168 GB, free: 4.91 MB / 0.92 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.0005478/0.3655, allocations: 371.3 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3656, allocations: 11.98 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.3656, allocations: 8.891 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.3657, allocations: 168.4 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.572e-05/0.3658, allocations: 30.27 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.3658, allocations: 384 / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.3661, allocations: 82.16 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3661, allocations: 3.938 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3661, allocations: 4 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.3661, allocations: 0 / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.3663, allocations: 43.95 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006091/0.3669, allocations: 328.7 kB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.367, allocations: 54.48 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.457e-05/0.3671, allocations: 28.94 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.3672, allocations: 0 / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.3672, allocations: 30.56 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3672, allocations: 4 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0003861/0.3676, allocations: 105.5 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.3676, allocations: 55.34 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/0.3677, allocations: 117.8 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.3678, allocations: 25.7 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.3678, allocations: 88.14 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.3678, allocations: 15.89 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.3679, allocations: 17.72 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.368, allocations: 314.8 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.731e-05/0.3681, allocations: 23.97 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-05/0.3682, allocations: 41.64 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.3684, allocations: 61.84 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3684, allocations: 0 / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002094/0.3686, allocations: 89.55 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3686, allocations: 4 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3686, allocations: 4 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3686, allocations: 0 / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3688, allocations: 12.02 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3688, allocations: 11.94 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.422e-05/0.3688, allocations: 11.92 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.3688, allocations: 0 / 1.171 GB, free: 2.543 MB / 0.92 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 7.632e-05/0.3689, allocations: 117.8 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.369, allocations: 3.953 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.369, allocations: 11.91 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.369, allocations: 0 / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.369, allocations: 0 / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.369, allocations: 4 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.3692, allocations: 173.6 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3692, allocations: 4 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.788e-05/0.3693, allocations: 11.98 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3693, allocations: 0 / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.3693, allocations: 0 / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3693, allocations: 0 / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3693, allocations: 0 / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.3696, allocations: 183.4 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.3696, allocations: 85.05 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.3696, allocations: 0 / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.3698, allocations: 16.11 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.3698, allocations: 0 / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.3698, allocations: 4 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.428e-05/0.3699, allocations: 87.27 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3699, allocations: 0 / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002267/0.3701, allocations: 16 kB / 1.171 GB, free: 1.738 MB / 0.92 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.0001103/0.3702, allocations: 99.25 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.3705, allocations: 59.77 kB / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.3705, allocations: 0 / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.998e-05/0.3706, allocations: 31.91 kB / 1.171 GB, free: 1.543 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.3709, allocations: 12 kB / 1.171 GB, free: 1.531 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.3713, allocations: 129.4 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.3716, allocations: 0.6885 MB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.29e-05/0.3717, allocations: 4 kB / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.3717, allocations: 7.438 kB / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of SimCode: time 3.51e-07/0.3717, allocations: 4 kB / 1.172 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of Templates: time 0.003093/0.3748, allocations: 0.8039 MB / 1.173 GB, free: 15.85 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches