Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009983/0.0009983, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9764/0.9764, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.878/1.878, allocations: 377.8 MB / 0.6239 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.604e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002901/0.002927, allocations: 1.546 MB / 0.813 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000351/0.003278, allocations: 137.1 kB / 0.8131 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.003333, allocations: 4 kB / 0.8131 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.121e-05/0.003365, allocations: 3.938 kB / 0.8131 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.003429, allocations: 9.406 kB / 0.8132 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.003747, allocations: 71.81 kB / 0.8132 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.00387, allocations: 59.78 kB / 0.8133 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.003982, allocations: 24.47 kB / 0.8133 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.358e-05/0.004066, allocations: 28.77 kB / 0.8133 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.004128, allocations: 19.97 kB / 0.8134 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.004155, allocations: 4.688 kB / 0.8134 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.004167, allocations: 4 kB / 0.8134 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.004195, allocations: 21.5 kB / 0.8134 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.004227, allocations: 15.98 kB / 0.8134 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.004348, allocations: 43.88 kB / 0.8134 GB, free: 108 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.004351, allocations: 4 kB / 0.8134 GB, free: 104 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004353, allocations: 0 / 0.8134 GB, free: 104 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.004357, allocations: 2.562 kB / 0.8134 GB, free: 104 kB / 0.7605 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.0004722/0.004829, allocations: 392.5 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.004871, allocations: 8.031 kB / 0.8138 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.317e-05/0.004924, allocations: 4.938 kB / 0.8138 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.005037, allocations: 124.5 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-05/0.005115, allocations: 56.5 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.005132, allocations: 4.375 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.005309, allocations: 97.34 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.005316, allocations: 0.7188 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.005332, allocations: 8.375 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.005342, allocations: 5.75 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.942e-05/0.005391, allocations: 15.97 kB / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.005874, allocations: 300.2 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.779e-05/0.005952, allocations: 39.05 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.408e-05/0.005986, allocations: 16.28 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.005996, allocations: 4.719 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.006022, allocations: 37.39 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.006024, allocations: 1.125 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001846/0.006208, allocations: 53.72 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.006242, allocations: 55.41 kB / 0.8146 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.006347, allocations: 175.2 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.006362, allocations: 25.7 kB / 0.8148 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.006422, allocations: 138.8 kB / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.006441, allocations: 17.59 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.00648, allocations: 23.38 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.00661, allocations: 0.4884 MB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.006633, allocations: 4 kB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.429e-05/0.006667, allocations: 23.38 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.692e-05/0.006724, allocations: 36.45 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.006727, allocations: 0 / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001078/0.006834, allocations: 66.41 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/0.006872, allocations: 4 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.006882, allocations: 2.219 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.006897, allocations: 4.234 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.844e-05/0.006995, allocations: 8 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.007001, allocations: 0 / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.516e-05/0.007036, allocations: 7.984 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.007041, allocations: 0 / 0.8156 GB, free: 13.66 MB / 0.7761 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 7.775e-05/0.007119, allocations: 163.4 kB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.007148, allocations: 11.88 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.267e-05/0.00717, allocations: 8 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.007173, allocations: 0 / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.007176, allocations: 0 / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.007178, allocations: 0 / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.00729, allocations: 124.6 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.007291, allocations: 1.531 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.788e-05/0.007319, allocations: 12.11 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.007321, allocations: 3.938 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.007328, allocations: 4 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.007329, allocations: 4.562 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.007331, allocations: 4.562 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.007466, allocations: 195.9 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.007474, allocations: 4.562 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.007485, allocations: 4.5 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.007565, allocations: 9.359 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.007599, allocations: 4 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.007606, allocations: 7.922 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.231e-05/0.007649, allocations: 131.2 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007649, allocations: 0.75 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001493/0.007798, allocations: 11.94 kB / 0.8163 GB, free: 12.91 MB / 0.7761 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 8.703e-05/0.007885, allocations: 98.64 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.771e-05/0.007983, allocations: 32.27 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.007985, allocations: 0 / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.389e-05/0.008009, allocations: 20.39 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.008215, allocations: 17.81 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.008529, allocations: 138.2 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.897e-05/0.008568, allocations: 55.36 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.631e-05/0.008594, allocations: 7.984 kB / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.008628, allocations: 12.5 kB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of SimCode: time 1.402e-06/0.00863, allocations: 0 / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.002182/0.01081, allocations: 0.8497 MB / 0.8175 GB, free: 11.66 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0721108571160585]