Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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.001343/0.001343, 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.001868/0.001868, allocations: 173 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.9687/0.9687, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.893/1.893, allocations: 377.8 MB / 0.6239 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] 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.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.347e-05/3.564e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.003012/0.003048, allocations: 1.352 MB / 0.8129 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.004495, allocations: 0.7563 MB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.004528, allocations: 0 / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.004553, allocations: 0 / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.758e-05/0.00462, allocations: 9.109 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.00508, allocations: 97.31 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.618e-05/0.005156, allocations: 23.86 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.005205, allocations: 3.984 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.927e-05/0.005244, allocations: 4 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.137e-05/0.005305, allocations: 5.531 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.005323, allocations: 0 / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003553/0.005678, allocations: 144 kB / 0.8139 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.005698, allocations: 4 kB / 0.8139 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.00572, allocations: 4.688 kB / 0.8139 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.005981, allocations: 131.6 kB / 0.814 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.005984, allocations: 4.719 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.62e-07/0.005985, allocations: 0 / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.005989, allocations: 1.281 kB / 0.814 GB, free: 15.52 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003918/0.006381, allocations: 356.2 kB / 0.8144 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.006431, allocations: 12.03 kB / 0.8144 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.006477, allocations: 7.078 kB / 0.8144 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.006592, allocations: 112.6 kB / 0.8145 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.006607, allocations: 384 / 0.8145 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.006618, allocations: 4.359 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.74e-05/0.006716, allocations: 34.27 kB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.006725, allocations: 1.531 kB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.006736, allocations: 384 / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.006748, allocations: 11.88 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.456e-05/0.006793, allocations: 7.984 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.00695, allocations: 113.2 kB / 0.8147 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.691e-05/0.007047, allocations: 40.41 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.007079, allocations: 11.75 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/0.008514, allocations: 366.7 kB / 0.8151 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.008544, allocations: 34.39 kB / 0.8151 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.008546, allocations: 0 / 0.8151 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001827/0.008728, allocations: 49.62 kB / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.008775, allocations: 58.78 kB / 0.8152 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.008e-05/0.008865, allocations: 153.9 kB / 0.8153 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.008877, allocations: 29.64 kB / 0.8154 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.00892, allocations: 126.9 kB / 0.8155 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.008957, allocations: 19.84 kB / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.008993, allocations: 23.36 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.009144, allocations: 492.1 kB / 0.816 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.009163, allocations: 4 kB / 0.816 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.009177, allocations: 4.594 kB / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.37e-05/0.00922, allocations: 23.61 kB / 0.816 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.009223, allocations: 0.5938 kB / 0.816 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.293e-05/0.009306, allocations: 43.36 kB / 0.8161 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.009322, allocations: 4 kB / 0.8161 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.00933, allocations: 3.984 kB / 0.8161 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.009344, allocations: 0 / 0.8161 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.456e-05/0.009398, allocations: 4 kB / 0.8161 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.009407, allocations: 4.438 kB / 0.8161 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.009425, allocations: 8.125 kB / 0.8161 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.009431, allocations: 4 kB / 0.8161 GB, free: 13.24 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.475e-05/0.009515, allocations: 156.6 kB / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.009529, allocations: 4.328 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.009671, allocations: 57.3 kB / 0.8163 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.009674, allocations: 3.984 kB / 0.8163 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.00968, allocations: 3.938 kB / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.009683, allocations: 0 / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.595e-05/0.009779, allocations: 108.6 kB / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.009781, allocations: 0 / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.925e-05/0.00981, allocations: 12 kB / 0.8164 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.009813, allocations: 0 / 0.8164 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.009821, allocations: 4 kB / 0.8164 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.009823, allocations: 0 / 0.8164 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.009825, allocations: 3.984 kB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.009926, allocations: 84.28 kB / 0.8165 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.009934, allocations: 3.984 kB / 0.8165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.009947, allocations: 4 kB / 0.8165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.164e-05/0.009958, allocations: 0 / 0.8165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/0.009976, allocations: 0 / 0.8165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.009981, allocations: 3.938 kB / 0.8165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.01003, allocations: 131.1 kB / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01003, allocations: 0 / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002728/0.0103, allocations: 39.86 kB / 0.8167 GB, free: 12.56 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 (3): * Single equations (assignments): 3 * 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.0002535/0.01056, allocations: 123.2 kB / 0.8168 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.862e-05/0.01066, allocations: 23.77 kB / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01066, allocations: 0 / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-05/0.01068, allocations: 19.62 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.01089, allocations: 4 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005367/0.01142, allocations: 117.1 kB / 0.817 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.01147, allocations: 59.3 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.143e-05/0.0115, allocations: 0 / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.01152, allocations: 16.5 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.01152, allocations: 0 / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.003718/0.01524, allocations: 0.9626 MB / 0.818 GB, free: 11.2 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.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.253984382143244]