Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001583/0.001583, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001891/0.001891, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.017/1.017, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.1/2.1, allocations: 429.5 MB / 0.6736 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8782 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.436e-05, allocations: 6.906 kB / 0.8782 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002786/0.00282, allocations: 1.35 MB / 0.8795 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.004242, allocations: 0.7666 MB / 0.8803 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.004284, allocations: 0 / 0.8803 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.82e-05/0.004312, allocations: 3.938 kB / 0.8803 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.682e-05/0.004379, allocations: 5.078 kB / 0.8803 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.004862, allocations: 96.56 kB / 0.8804 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.724e-05/0.00495, allocations: 23.86 kB / 0.8804 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.004997, allocations: 0.5 kB / 0.8804 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.149e-05/0.005039, allocations: 9.406 kB / 0.8804 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.786e-05/0.005107, allocations: 7.984 kB / 0.8804 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.005125, allocations: 0 / 0.8804 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/0.00547, allocations: 144 kB / 0.8806 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.005486, allocations: 0.5312 kB / 0.8806 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.00551, allocations: 4.812 kB / 0.8806 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.005743, allocations: 131.6 kB / 0.8807 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.005749, allocations: 5.094 kB / 0.8807 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.465e-06/0.005752, allocations: 3.984 kB / 0.8807 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.005758, allocations: 0 / 0.8807 GB, free: 4.039 MB / 0.8386 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.0004107/0.006168, allocations: 357.2 kB / 0.881 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.006221, allocations: 12.03 kB / 0.8811 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/0.006271, allocations: 6.375 kB / 0.8811 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.006388, allocations: 108.6 kB / 0.8812 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.006405, allocations: 4.312 kB / 0.8812 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.006417, allocations: 384 / 0.8812 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.006518, allocations: 41.19 kB / 0.8812 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.006527, allocations: 0 / 0.8812 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.006537, allocations: 0 / 0.8812 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.006547, allocations: 0 / 0.8812 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.706e-05/0.006584, allocations: 12 kB / 0.8812 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.006744, allocations: 112.7 kB / 0.8813 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.006847, allocations: 42.98 kB / 0.8814 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/0.006878, allocations: 11.75 kB / 0.8814 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/0.008107, allocations: 364.4 kB / 0.8817 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.008136, allocations: 33.39 kB / 0.8818 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.008138, allocations: 0 / 0.8818 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001862/0.008324, allocations: 49.62 kB / 0.8818 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.008365, allocations: 51.41 kB / 0.8819 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.304e-05/0.008458, allocations: 161.9 kB / 0.882 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.008473, allocations: 29.7 kB / 0.882 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/0.008518, allocations: 134.8 kB / 0.8822 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.008551, allocations: 15.84 kB / 0.8822 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.008586, allocations: 23.38 kB / 0.8822 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.008742, allocations: 492.1 kB / 0.8827 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.00876, allocations: 3.984 kB / 0.8827 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.131e-05/0.008771, allocations: 4 kB / 0.8827 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.542e-05/0.008816, allocations: 23.62 kB / 0.8827 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.008819, allocations: 0 / 0.8827 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.726e-05/0.008907, allocations: 45.81 kB / 0.8827 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.008927, allocations: 7.938 kB / 0.8828 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.008934, allocations: 0 / 0.8828 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.008949, allocations: 0 / 0.8828 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.009011, allocations: 7.938 kB / 0.8828 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.009017, allocations: 0 / 0.8828 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.97e-05/0.009037, allocations: 8 kB / 0.8828 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.009042, allocations: 0 / 0.8828 GB, free: 1.727 MB / 0.8386 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.59e-05/0.009128, allocations: 156.6 kB / 0.8829 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.00914, allocations: 4 kB / 0.8829 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.009271, allocations: 57.31 kB / 0.883 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.009273, allocations: 0 / 0.883 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.009278, allocations: 0 / 0.883 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.009282, allocations: 0 / 0.883 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.332e-05/0.009376, allocations: 116.6 kB / 0.8831 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.009377, allocations: 0 / 0.8831 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.009405, allocations: 11.98 kB / 0.8831 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.009407, allocations: 3.938 kB / 0.8831 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.009416, allocations: 4 kB / 0.8831 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.00942, allocations: 3.938 kB / 0.8831 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009421, allocations: 0 / 0.8831 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.728e-05/0.009518, allocations: 80.81 kB / 0.8832 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.886e-06/0.009527, allocations: 4.031 kB / 0.8832 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.00954, allocations: 4 kB / 0.8832 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.133e-05/0.009551, allocations: 3.938 kB / 0.8832 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.009572, allocations: 4 kB / 0.8832 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.009577, allocations: 3.984 kB / 0.8832 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.769e-05/0.009624, allocations: 123.2 kB / 0.8833 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/0.009624, allocations: 0 / 0.8833 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002587/0.009883, allocations: 27.88 kB / 0.8833 GB, free: 1.051 MB / 0.8386 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.000265/0.01015, allocations: 131.2 kB / 0.8835 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.01025, allocations: 27.61 kB / 0.8835 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01025, allocations: 0 / 0.8835 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/0.01027, allocations: 11.69 kB / 0.8835 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.01048, allocations: 9.109 kB / 0.8835 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.01104, allocations: 122.3 kB / 0.8836 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.127e-05/0.01108, allocations: 55.3 kB / 0.8837 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.901e-05/0.01111, allocations: 7.938 kB / 0.8837 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.01113, allocations: 8.5 kB / 0.8837 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of SimCode: time 1.232e-06/0.01114, allocations: 0 / 0.8837 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of Templates: time 0.003634/0.01477, allocations: 0.9664 MB / 0.8846 GB, free: 15.68 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.542554358951747]