Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008543/0.008543, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001992/0.001992, allocations: 193.8 kB / 16.67 MB, free: 5.977 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.631/2.631, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 70.53 kB / 0.9508 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.362, allocations: 140.4 MB / 1.088 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002724/0.3648, allocations: 1.494 MB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003641/0.3651, allocations: 123.7 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.3652, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.3653, allocations: 7.922 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.445e-05/0.3653, allocations: 7.938 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.3657, allocations: 72.69 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.3658, allocations: 59.84 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.3659, allocations: 15.97 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.572e-05/0.366, allocations: 27.92 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.271e-05/0.3661, allocations: 19.92 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.3661, allocations: 4 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.354e-05/0.3661, allocations: 4 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.3661, allocations: 23.92 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.3662, allocations: 27.84 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.3663, allocations: 51.81 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.3663, allocations: 3.984 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3663, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3664, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 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.0005983/0.367, allocations: 371.3 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.367, allocations: 8.031 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.3671, allocations: 8.938 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.3672, allocations: 180.2 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.887e-05/0.3673, allocations: 38.14 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.3673, allocations: 384 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.3676, allocations: 74.22 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.3676, allocations: 3.938 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.3676, allocations: 0 / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3676, allocations: 4 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.3678, allocations: 51.94 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006437/0.3685, allocations: 320.6 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.3686, allocations: 51.97 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3687, allocations: 32.94 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.3687, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.3688, allocations: 30.56 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.415e-06/0.3688, allocations: 3.984 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003622/0.3691, allocations: 101.6 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.3692, allocations: 55.41 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.3693, allocations: 113.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.3693, allocations: 25.7 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.3694, allocations: 88.09 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.3694, allocations: 15.89 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.3694, allocations: 17.72 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3696, allocations: 318.8 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/0.3696, allocations: 23.97 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.085e-05/0.3697, allocations: 37.7 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.3699, allocations: 57.61 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3699, allocations: 128 / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002126/0.3701, allocations: 89.66 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3702, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3702, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3702, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3703, allocations: 15.92 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3703, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.492e-05/0.3704, allocations: 15.92 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.3704, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 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 8.365e-05/0.3705, allocations: 121.8 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.3705, allocations: 3.953 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.3705, allocations: 7.906 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3706, allocations: 7.938 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3706, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3706, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.3707, allocations: 177.6 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3707, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.521e-05/0.3708, allocations: 19.92 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.3708, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.3708, allocations: 4 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3708, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3708, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.3711, allocations: 183.3 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.3711, allocations: 81.09 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.3712, allocations: 0 / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.3713, allocations: 15.98 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.3713, allocations: 0 / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.3714, allocations: 4 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.919e-05/0.3714, allocations: 87.27 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3714, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002139/0.3716, allocations: 12 kB / 1.093 GB, free: 12.42 MB / 0.8575 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.0001168/0.3718, allocations: 95.25 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.372, allocations: 63.83 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.372, allocations: 0 / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.874e-05/0.3721, allocations: 28.34 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.3724, allocations: 4 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.3728, allocations: 129.5 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.373, allocations: 0.6894 MB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.478e-05/0.3731, allocations: 8.078 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.3731, allocations: 11.44 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.3731, allocations: 0 / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of Templates: time 0.003015/0.3761, allocations: 0.8186 MB / 1.094 GB, free: 10.54 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches