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.001098/0.001098, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009427/0.0009427, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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.9734/0.9734, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.845/1.845, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.493e-06/1.493e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.815e-05, allocations: 4.703 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002081/0.00211, allocations: 1.552 MB / 0.813 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003164/0.002426, allocations: 139.5 kB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.002472, allocations: 0 / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.865e-05/0.00251, allocations: 5.531 kB / 0.8132 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.74e-05/0.002578, allocations: 7.875 kB / 0.8132 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.002913, allocations: 69.89 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.003023, allocations: 59.84 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.003147, allocations: 11.98 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.594e-05/0.003233, allocations: 35.95 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.204e-05/0.003295, allocations: 19.92 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.003321, allocations: 4.625 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.551e-05/0.003336, allocations: 4 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.84e-05/0.003364, allocations: 16.5 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.487e-05/0.003399, allocations: 19.92 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.003533, allocations: 44.5 kB / 0.8134 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.003538, allocations: 4.516 kB / 0.8134 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.493e-06/0.003539, allocations: 0 / 0.8134 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.003547, allocations: 1.438 kB / 0.8134 GB, free: 15.75 MB / 0.7761 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.0005046/0.004051, allocations: 392.5 kB / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.004099, allocations: 11.97 kB / 0.8138 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.004156, allocations: 9.469 kB / 0.8138 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.004265, allocations: 117.9 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.333e-05/0.004348, allocations: 55.97 kB / 0.814 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.004369, allocations: 12.31 kB / 0.814 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.004542, allocations: 93.8 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.00455, allocations: 4.188 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.004563, allocations: 384 / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.004574, allocations: 5.5 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.487e-05/0.004619, allocations: 19.97 kB / 0.8141 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.005147, allocations: 303.6 kB / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.306e-05/0.00522, allocations: 40.42 kB / 0.8145 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.005252, allocations: 19.77 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.005265, allocations: 4.5 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.005296, allocations: 37.39 kB / 0.8145 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.005298, allocations: 1.219 kB / 0.8145 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001955/0.005493, allocations: 53.62 kB / 0.8146 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.005528, allocations: 51.41 kB / 0.8146 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.005638, allocations: 170.8 kB / 0.8148 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.005656, allocations: 25.7 kB / 0.8148 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.005717, allocations: 136.2 kB / 0.8149 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.005737, allocations: 19.84 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.005776, allocations: 27.36 kB / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.005914, allocations: 492.1 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.005939, allocations: 5.188 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.446e-05/0.005973, allocations: 31.36 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.138e-05/0.006024, allocations: 33.19 kB / 0.8155 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.006028, allocations: 0 / 0.8155 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.028e-05/0.006118, allocations: 57.62 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.006137, allocations: 4 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.006145, allocations: 4.125 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.006168, allocations: 6.469 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.00627, allocations: 15.92 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.006279, allocations: 0 / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.495e-05/0.006304, allocations: 8 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.006309, allocations: 0 / 0.8156 GB, free: 13.3 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 8.175e-05/0.006391, allocations: 161 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.006416, allocations: 11.89 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.00645, allocations: 8.531 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.006455, allocations: 5.922 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.00646, allocations: 0 / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.006464, allocations: 0 / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.006593, allocations: 120.6 kB / 0.8159 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.006595, allocations: 0 / 0.8159 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.851e-05/0.006633, allocations: 12.91 kB / 0.8159 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.006637, allocations: 3.938 kB / 0.8159 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.006645, allocations: 0 / 0.8159 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.006646, allocations: 4.781 kB / 0.8159 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.00665, allocations: 3.984 kB / 0.8159 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.006806, allocations: 200.5 kB / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-06/0.006814, allocations: 288 / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.00683, allocations: 8.594 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.886e-05/0.006889, allocations: 7.156 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.006933, allocations: 7.984 kB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.006943, allocations: 7.984 kB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.979e-05/0.006993, allocations: 127.2 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006993, allocations: 0 / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001597/0.007153, allocations: 15.94 kB / 0.8163 GB, free: 12.55 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 0.0001057/0.007258, allocations: 95.25 kB / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.618e-05/0.007355, allocations: 30.02 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.007356, allocations: 0 / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.384e-05/0.00738, allocations: 19.69 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.007593, allocations: 15.86 kB / 0.8164 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.0079, allocations: 139.2 kB / 0.8166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.617e-05/0.007936, allocations: 59.34 kB / 0.8166 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.611e-05/0.007962, allocations: 5.062 kB / 0.8166 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.007993, allocations: 9.594 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of SimCode: time 7.71e-07/0.007993, allocations: 0 / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of Templates: time 0.002508/0.0105, allocations: 0.8552 MB / 0.8175 GB, free: 11.3 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.072688953951001]