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.000779/0.000779, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000899/0.000899, allocations: 179.9 kB / 16.92 MB, free: 6.652 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.403/1.403, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.719/2.719, allocations: 462.7 MB / 0.7371 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005303/0.0005305, allocations: 9.594 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3392, allocations: 159.6 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002284/0.3415, allocations: 1.217 MB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003912/0.3419, allocations: 119.7 kB / 1.061 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.342, allocations: 4 kB / 1.061 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.342, allocations: 3.938 kB / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.494e-05/0.3421, allocations: 7.984 kB / 1.061 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.3425, allocations: 70.47 kB / 1.061 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.3426, allocations: 51.84 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.3427, allocations: 15.98 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.3428, allocations: 27.91 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.568e-05/0.3429, allocations: 15.92 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.3429, allocations: 0 / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.972e-05/0.343, allocations: 4 kB / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.755e-05/0.343, allocations: 15.92 kB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.703e-05/0.3431, allocations: 49.56 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.306e-05/0.3432, allocations: 35.92 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3432, allocations: 0 / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.917e-06/0.3432, allocations: 0 / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3432, allocations: 0 / 1.061 GB, free: 3.285 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.0006729/0.3439, allocations: 371.6 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3439, allocations: 11.97 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.344, allocations: 4.938 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.3442, allocations: 176.2 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.799e-05/0.3443, allocations: 34.27 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.3443, allocations: 4.375 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.3445, allocations: 86.22 kB / 1.062 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3446, allocations: 3.938 kB / 1.062 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.3446, allocations: 0 / 1.062 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3446, allocations: 0 / 1.062 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.3448, allocations: 55.95 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007331/0.3456, allocations: 336.6 kB / 1.062 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.3457, allocations: 54.55 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.3459, allocations: 32.94 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.3459, allocations: 7.984 kB / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.3459, allocations: 34.56 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3459, allocations: 0 / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004258/0.3464, allocations: 113.6 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.3464, allocations: 59.41 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.3465, allocations: 105.8 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.3466, allocations: 25.7 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.3467, allocations: 99.92 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.3467, allocations: 7.906 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.3467, allocations: 17.7 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3469, allocations: 318.8 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.347, allocations: 27.98 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.3471, allocations: 41.69 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.3473, allocations: 73.61 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3473, allocations: 0 / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002433/0.3476, allocations: 93.59 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3476, allocations: 16.97 kB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3476, allocations: 4 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3477, allocations: 0 / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.3478, allocations: 15.98 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3478, allocations: 0 / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/0.3479, allocations: 8 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.3479, allocations: 448 / 1.063 GB, free: 0.8477 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.17e-05/0.348, allocations: 125.8 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.348, allocations: 11.91 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.348, allocations: 7.906 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3481, allocations: 0 / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3481, allocations: 0 / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3481, allocations: 0 / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.3483, allocations: 177.6 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3483, allocations: 0 / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.787e-05/0.3483, allocations: 11.98 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3484, allocations: 8 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-06/0.3484, allocations: 0 / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3484, allocations: 0 / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3484, allocations: 3.938 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.3487, allocations: 187.5 kB / 1.064 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.3488, allocations: 84.95 kB / 1.064 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.3488, allocations: 4 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.3489, allocations: 11.98 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.349, allocations: 11.98 kB / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.349, allocations: 0 / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.923e-05/0.349, allocations: 95.25 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.349, allocations: 0 / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002171/0.3492, allocations: 12 kB / 1.064 GB, free: 12 kB / 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.0001221/0.3494, allocations: 95.25 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.3496, allocations: 72.11 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3496, allocations: 0 / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.711e-05/0.3497, allocations: 27.98 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.35, allocations: 9.828 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.3504, allocations: 186.4 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.3508, allocations: 0.6809 MB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.3508, allocations: 15.38 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3508, allocations: 0 / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of Templates: time 0.002224/0.353, allocations: 0.8357 MB / 1.066 GB, free: 14.04 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/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