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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008955/0.0008955, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008656/0.0008657, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.468/2.468, allocations: 390.9 MB / 0.666 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005623/0.0005625, allocations: 12.2 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.84/0.8406, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001555/0.8422, allocations: 1.199 MB / 0.9556 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002868/0.8425, allocations: 123.9 kB / 0.9557 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.224e-05/0.8426, allocations: 1.156 kB / 0.9557 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.8426, allocations: 3.938 kB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.368e-05/0.8427, allocations: 5.109 kB / 0.9557 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.843, allocations: 61.25 kB / 0.9558 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.025e-05/0.8431, allocations: 51.22 kB / 0.9558 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.8432, allocations: 14.67 kB / 0.9558 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.869e-05/0.8433, allocations: 26.61 kB / 0.9559 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.738e-05/0.8433, allocations: 17.14 kB / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.8434, allocations: 2.125 kB / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.447e-05/0.8434, allocations: 2.719 kB / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.8434, allocations: 14.53 kB / 0.9559 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.8434, allocations: 32.23 kB / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.147e-05/0.8435, allocations: 30.28 kB / 0.956 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.8435, allocations: 0 / 0.956 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8435, allocations: 4 kB / 0.956 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.8436, allocations: 0 / 0.956 GB, free: 6.488 MB / 0.7169 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.0004414/0.844, allocations: 370.4 kB / 0.9563 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.844, allocations: 13.52 kB / 0.9563 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.8441, allocations: 6.688 kB / 0.9563 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.778e-05/0.8442, allocations: 174 kB / 0.9565 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.689e-05/0.8443, allocations: 33.83 kB / 0.9565 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.8443, allocations: 7 kB / 0.9566 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.8445, allocations: 79.55 kB / 0.9566 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.8445, allocations: 0 / 0.9566 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.8445, allocations: 5.047 kB / 0.9566 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.8445, allocations: 5.281 kB / 0.9566 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.8447, allocations: 54.17 kB / 0.9567 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.8453, allocations: 327.8 kB / 0.957 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.8454, allocations: 58.09 kB / 0.9571 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.433e-05/0.8455, allocations: 40.23 kB / 0.9571 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.8455, allocations: 0 / 0.9571 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.8456, allocations: 31.84 kB / 0.9571 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.8456, allocations: 3.938 kB / 0.9571 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000359/0.8459, allocations: 123.9 kB / 0.9572 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.846, allocations: 56.72 kB / 0.9573 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.846, allocations: 107.2 kB / 0.9574 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.8461, allocations: 25.7 kB / 0.9574 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.8461, allocations: 94.78 kB / 0.9575 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.8461, allocations: 13.31 kB / 0.9575 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.8461, allocations: 1.438 kB / 0.9575 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.285e-05/0.8462, allocations: 315.9 kB / 0.9578 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-05/0.8463, allocations: 28.75 kB / 0.9579 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.412e-05/0.8464, allocations: 38.73 kB / 0.9579 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.411e-05/0.8464, allocations: 25.98 kB / 0.9579 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.8465, allocations: 0 / 0.9579 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002028/0.8467, allocations: 107.3 kB / 0.958 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.8467, allocations: 7.156 kB / 0.958 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8467, allocations: 0 / 0.958 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.8467, allocations: 5.312 kB / 0.958 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.971e-05/0.8468, allocations: 16.8 kB / 0.9581 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.8468, allocations: 0 / 0.9581 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.125e-05/0.8469, allocations: 14.78 kB / 0.9581 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.8469, allocations: 1.656 kB / 0.9581 GB, free: 4.508 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.704e-05/0.847, allocations: 125 kB / 0.9582 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.847, allocations: 5.859 kB / 0.9582 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.847, allocations: 9.781 kB / 0.9582 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.847, allocations: 0 / 0.9582 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.847, allocations: 0 / 0.9582 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.847, allocations: 0 / 0.9582 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.8472, allocations: 177.3 kB / 0.9584 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8472, allocations: 4 kB / 0.9584 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.461e-05/0.8473, allocations: 15.61 kB / 0.9584 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.8473, allocations: 0 / 0.9584 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.8473, allocations: 3.953 kB / 0.9584 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8473, allocations: 0 / 0.9584 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.8473, allocations: 2.031 kB / 0.9584 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.8475, allocations: 189.4 kB / 0.9586 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.8475, allocations: 78.48 kB / 0.9587 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.8476, allocations: 5.594 kB / 0.9587 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.8477, allocations: 22.69 kB / 0.9587 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.8477, allocations: 13.27 kB / 0.9587 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.8478, allocations: 1.75 kB / 0.9587 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.8478, allocations: 90.72 kB / 0.9588 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8478, allocations: 0 / 0.9588 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002193/0.848, allocations: 11.28 kB / 0.9588 GB, free: 3.766 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.722e-05/0.8481, allocations: 96.38 kB / 0.9589 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.8483, allocations: 61.83 kB / 0.9589 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.8483, allocations: 0 / 0.9589 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.228e-05/0.8484, allocations: 32.92 kB / 0.959 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.8487, allocations: 11.55 kB / 0.959 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.849, allocations: 154 kB / 0.9591 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.8491, allocations: 0.6819 MB / 0.9598 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.309e-05/0.8492, allocations: 7.75 kB / 0.9598 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.8492, allocations: 9.719 kB / 0.9598 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8492, allocations: 0 / 0.9598 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of Templates: time 0.00264/0.8519, allocations: 0.6896 MB / 0.9605 GB, free: 2.414 MB / 0.7169 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