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.001121/0.001121, allocations: 108 kB / 15.61 MB, free: 152 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.00125/0.00125, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.612/2.612, allocations: 437 MB / 0.7103 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 67.89 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6577/0.6591, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003326/0.6625, allocations: 1.483 MB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004489/0.663, allocations: 135.6 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.6631, allocations: 0 / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.621e-05/0.6631, allocations: 3.938 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.944e-05/0.6632, allocations: 11.88 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.6636, allocations: 67.89 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.6637, allocations: 59.83 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.6638, allocations: 19.92 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.867e-05/0.6639, allocations: 27.92 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.242e-05/0.664, allocations: 19.92 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.664, allocations: 4 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.03e-05/0.664, allocations: 4 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.569e-05/0.6641, allocations: 23.91 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.6641, allocations: 23.92 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.6642, allocations: 59.78 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.6643, allocations: 4 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.624e-06/0.6643, allocations: 0 / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.912e-06/0.6643, allocations: 0 / 1.019 GB, free: 0.5352 MB / 0.7637 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.0005947/0.6649, allocations: 371 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.6649, allocations: 11.98 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.665, allocations: 4.938 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.6652, allocations: 176.2 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/0.6652, allocations: 30.27 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.6653, allocations: 8.312 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.6655, allocations: 78.16 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.6655, allocations: 3.938 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.6655, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6656, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.6657, allocations: 51.95 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006581/0.6664, allocations: 316.7 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.6666, allocations: 58.47 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.6667, allocations: 28.94 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.6667, allocations: 4 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.6667, allocations: 34.55 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.6667, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003884/0.6671, allocations: 93.64 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.6672, allocations: 55.41 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.353e-05/0.6673, allocations: 117.8 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.6673, allocations: 29.64 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.6673, allocations: 92.05 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.6674, allocations: 19.73 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.6674, allocations: 17.72 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6675, allocations: 314.8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.306e-05/0.6676, allocations: 27.97 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.403e-05/0.6677, allocations: 33.7 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.6679, allocations: 57.67 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6679, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000214/0.6681, allocations: 89.59 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.6682, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6682, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.6682, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/0.6683, allocations: 11.98 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.6683, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.565e-05/0.6684, allocations: 7.984 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.6684, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 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.62e-05/0.6685, allocations: 121.8 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.6685, allocations: 7.906 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.6685, allocations: 3.906 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.6685, allocations: 128 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.6685, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.6685, allocations: 4 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.6687, allocations: 177.6 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6687, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.69e-05/0.6688, allocations: 11.98 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6688, allocations: 0 / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.6688, allocations: 11.94 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6689, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.6689, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.6691, allocations: 175.4 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.6692, allocations: 88.95 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.6692, allocations: 288 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.6693, allocations: 15.98 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.6694, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.6694, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.312e-05/0.6694, allocations: 95.2 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6694, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002242/0.6696, allocations: 8 kB / 1.022 GB, free: 13.38 MB / 0.7794 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.0001146/0.6698, allocations: 103.2 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.67, allocations: 59.89 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.67, allocations: 3.938 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.652e-05/0.6701, allocations: 27.97 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.6704, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.6708, allocations: 141.5 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.671, allocations: 0.6807 MB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.534e-05/0.6711, allocations: 4.25 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.6711, allocations: 7.438 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6711, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of Templates: time 0.002766/0.6739, allocations: 0.8046 MB / 1.024 GB, free: 11.49 MB / 0.7794 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