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.001073/0.001073, allocations: 69.11 kB / 20.65 MB, free: 3.848 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.001079/0.001079, allocations: 173 kB / 24.06 MB, free: 448 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.9179/0.9179, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.012/2.012, allocations: 429.5 MB / 0.6743 GB, free: 3.887 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.833e-06/1.833e-06, allocations: 0 / 0.8794 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.636e-05, allocations: 8.094 kB / 0.8794 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001904/0.00193, allocations: 1.352 MB / 0.8807 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009772/0.002907, allocations: 0.7651 MB / 0.8815 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.002937, allocations: 1 kB / 0.8815 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.002962, allocations: 3.938 kB / 0.8815 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.803e-05/0.00303, allocations: 4.594 kB / 0.8815 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.003329, allocations: 96.45 kB / 0.8816 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.116e-05/0.00339, allocations: 21.22 kB / 0.8816 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.003441, allocations: 4 kB / 0.8816 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.401e-05/0.003475, allocations: 7.984 kB / 0.8816 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.828e-05/0.003523, allocations: 7.984 kB / 0.8816 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.003535, allocations: 0.7812 kB / 0.8816 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.003751, allocations: 136.1 kB / 0.8818 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.003766, allocations: 8.547 kB / 0.8818 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.33e-05/0.003779, allocations: 9.031 kB / 0.8818 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.003955, allocations: 123.7 kB / 0.8819 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003957, allocations: 0 / 0.8819 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.644e-06/0.003959, allocations: 0.6562 kB / 0.8819 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.003964, allocations: 0 / 0.8819 GB, free: 3.461 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.0002727/0.004237, allocations: 373.2 kB / 0.8822 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.004269, allocations: 8.031 kB / 0.8823 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.004293, allocations: 5.969 kB / 0.8823 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.852e-05/0.004381, allocations: 108.6 kB / 0.8824 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.004395, allocations: 7.922 kB / 0.8824 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.004402, allocations: 4.375 kB / 0.8824 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.568e-05/0.004478, allocations: 41.81 kB / 0.8824 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.004486, allocations: 0 / 0.8824 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.004494, allocations: 0 / 0.8824 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.004497, allocations: 0 / 0.8824 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.036e-05/0.004518, allocations: 7.984 kB / 0.8824 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001049/0.004623, allocations: 93.27 kB / 0.8825 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.834e-05/0.004691, allocations: 43.03 kB / 0.8826 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.004709, allocations: 12.5 kB / 0.8826 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007907/0.0055, allocations: 327.9 kB / 0.8829 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.005526, allocations: 33.39 kB / 0.8829 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.005528, allocations: 0 / 0.8829 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001497/0.005677, allocations: 45.62 kB / 0.883 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.005711, allocations: 59.34 kB / 0.883 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.906e-05/0.00577, allocations: 157.9 kB / 0.8832 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.005782, allocations: 29.7 kB / 0.8832 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.005816, allocations: 126.9 kB / 0.8833 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.005846, allocations: 15.84 kB / 0.8833 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.005872, allocations: 19.38 kB / 0.8833 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.005998, allocations: 0.4884 MB / 0.8838 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-06/0.006006, allocations: 0 / 0.8838 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-06/0.006015, allocations: 4 kB / 0.8838 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.538e-05/0.00604, allocations: 15.81 kB / 0.8838 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006042, allocations: 8 kB / 0.8838 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.784e-05/0.00609, allocations: 37.69 kB / 0.8839 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.006102, allocations: 4 kB / 0.8839 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.006106, allocations: 4 kB / 0.8839 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.006115, allocations: 7.875 kB / 0.8839 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.919e-05/0.006154, allocations: 7.984 kB / 0.8839 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.006157, allocations: 0 / 0.8839 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.126e-05/0.006168, allocations: 0 / 0.8839 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.006173, allocations: 0 / 0.8839 GB, free: 1.211 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 6.784e-05/0.006241, allocations: 160.6 kB / 0.8841 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-06/0.006245, allocations: 4.328 kB / 0.8841 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.262e-05/0.006328, allocations: 53.36 kB / 0.8841 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.006332, allocations: 3.938 kB / 0.8841 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.006334, allocations: 0 / 0.8841 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.006337, allocations: 0 / 0.8841 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.783e-05/0.006405, allocations: 101.2 kB / 0.8842 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.006406, allocations: 0 / 0.8842 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.308e-05/0.006419, allocations: 7.938 kB / 0.8842 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.00642, allocations: 4 kB / 0.8842 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.006424, allocations: 0 / 0.8842 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.006426, allocations: 8 kB / 0.8842 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.006427, allocations: 0 / 0.8842 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.932e-05/0.006486, allocations: 80.38 kB / 0.8843 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-06/0.006492, allocations: 3.984 kB / 0.8843 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-06/0.006499, allocations: 4 kB / 0.8843 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.29e-06/0.006505, allocations: 0 / 0.8843 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.006523, allocations: 11.86 kB / 0.8843 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.006526, allocations: 4 kB / 0.8843 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.006559, allocations: 123.2 kB / 0.8845 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006559, allocations: 0 / 0.8845 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000153/0.006712, allocations: 35.97 kB / 0.8845 GB, free: 0.5469 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.0001707/0.006883, allocations: 127.1 kB / 0.8846 GB, free: 424 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.255e-05/0.006946, allocations: 15.69 kB / 0.8846 GB, free: 404 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006947, allocations: 0 / 0.8846 GB, free: 404 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.071e-05/0.006958, allocations: 15.67 kB / 0.8846 GB, free: 384 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.007104, allocations: 12 kB / 0.8846 GB, free: 372 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.007479, allocations: 118.2 kB / 0.8848 GB, free: 224 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.108e-05/0.00751, allocations: 55.36 kB / 0.8848 GB, free: 148 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.524e-05/0.007535, allocations: 11.92 kB / 0.8848 GB, free: 136 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.007581, allocations: 74.2 kB / 0.8849 GB, free: 60 kB / 0.8386 GB Notification: Performance of SimCode: time 6.01e-07/0.007582, allocations: 0 / 0.8849 GB, free: 60 kB / 0.8386 GB Notification: Performance of Templates: time 0.002697/0.01028, allocations: 1.072 MB / 0.8859 GB, free: 15.01 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.171413667034358]