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.01069/0.01069, allocations: 101.5 kB / 15.88 MB, free: 6.328 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.001512/0.001512, allocations: 193.5 kB / 16.79 MB, free: 6.254 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.42/1.42, allocations: 222.9 MB / 240.5 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.815/2.815, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 68.27 kB / 0.899 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3524, allocations: 157.4 MB / 1.053 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003229/0.3557, allocations: 1.556 MB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003479/0.3561, allocations: 131.6 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.3561, allocations: 0 / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.044e-05/0.3562, allocations: 4 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.458e-05/0.3563, allocations: 3.938 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.3566, allocations: 63.91 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.3568, allocations: 55.84 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3569, allocations: 23.95 kB / 1.055 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.813e-05/0.3569, allocations: 23.92 kB / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.358e-05/0.357, allocations: 19.92 kB / 1.055 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.357, allocations: 3.938 kB / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.659e-05/0.3571, allocations: 4 kB / 1.055 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.621e-05/0.3571, allocations: 11.98 kB / 1.055 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.3571, allocations: 27.84 kB / 1.055 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.335e-05/0.3572, allocations: 39.94 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3572, allocations: 0 / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.21e-07/0.3572, allocations: 0 / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.3573, allocations: 0 / 1.055 GB, free: 6.398 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.000572/0.3578, allocations: 367.6 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3579, allocations: 11.97 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.3579, allocations: 8.844 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.3581, allocations: 180.3 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.994e-05/0.3582, allocations: 38.2 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.3582, allocations: 4.375 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.3584, allocations: 78.2 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3584, allocations: 3.938 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3584, allocations: 0 / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3585, allocations: 4 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.3586, allocations: 47.95 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006093/0.3593, allocations: 316.6 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.3594, allocations: 50.55 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.309e-05/0.3595, allocations: 32.94 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.3595, allocations: 0 / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.3596, allocations: 34.55 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3596, allocations: 0 / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003518/0.3599, allocations: 97.77 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.36, allocations: 59.34 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.3601, allocations: 109.8 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3601, allocations: 33.64 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.3602, allocations: 91.98 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.3602, allocations: 15.8 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.3602, allocations: 17.72 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3603, allocations: 314.8 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.159e-05/0.3604, allocations: 23.97 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.954e-05/0.3606, allocations: 37.7 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.3607, allocations: 65.59 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3607, allocations: 0 / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002093/0.3609, allocations: 81.69 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.361, allocations: 4 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.361, allocations: 4 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.361, allocations: 0 / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3611, allocations: 15.92 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3611, allocations: 4 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.624e-05/0.3612, allocations: 11.98 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.3612, allocations: 0 / 1.057 GB, free: 4.035 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.21e-05/0.3613, allocations: 117.8 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.3613, allocations: 7.906 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.3614, allocations: 7.906 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3614, allocations: 0 / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3614, allocations: 0 / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3614, allocations: 0 / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.3616, allocations: 177.6 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3616, allocations: 4 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.986e-05/0.3616, allocations: 11.98 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3617, allocations: 0 / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.3617, allocations: 4 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3617, allocations: 0 / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3617, allocations: 128 / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.3619, allocations: 191.3 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.362, allocations: 81.05 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.362, allocations: 0 / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.3622, allocations: 15.98 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.3622, allocations: 0 / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.3622, allocations: 7.984 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.42e-05/0.3623, allocations: 87.22 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3623, allocations: 0 / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000215/0.3625, allocations: 8 kB / 1.057 GB, free: 3.23 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 (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.0001141/0.3626, allocations: 99.25 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.3628, allocations: 63.77 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3629, allocations: 0 / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.655e-05/0.363, allocations: 27.97 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.3633, allocations: 9.891 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.3636, allocations: 181 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.3639, allocations: 0.6848 MB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.364, allocations: 7.438 kB / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of SimCode: time 3.6e-07/0.364, allocations: 0 / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of Templates: time 0.002158/0.3661, allocations: 0.8505 MB / 1.059 GB, free: 1.258 MB / 0.8106 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches