Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.001379/0.001379, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001523/0.001523, allocations: 181 kB / 23.36 MB, free: 1.133 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.011/1.011, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.443/2.443, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8387 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.754e-05, allocations: 4.141 kB / 0.8387 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002255/0.002282, allocations: 1.713 MB / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.003541, allocations: 0.9658 MB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.562e-05/0.003607, allocations: 4 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.807e-05/0.003635, allocations: 7.875 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.003808, allocations: 27.78 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.004086, allocations: 139.4 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.004208, allocations: 79.66 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.18e-05/0.004289, allocations: 11.98 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.004414, allocations: 51.89 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.761e-05/0.004482, allocations: 31.84 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.004497, allocations: 4 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003185/0.004815, allocations: 295.6 kB / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.004833, allocations: 11.92 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.004856, allocations: 19.92 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.005222, allocations: 175.5 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.005225, allocations: 0 / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005226, allocations: 0 / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.005231, allocations: 0 / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003783/0.005609, allocations: 312.3 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.005645, allocations: 8.625 kB / 0.8424 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.005838, allocations: 32.91 kB / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.005997, allocations: 141.5 kB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.006005, allocations: 384 / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.006016, allocations: 12.38 kB / 0.8426 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.006118, allocations: 62.5 kB / 0.8427 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.006126, allocations: 4 kB / 0.8427 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.006134, allocations: 0 / 0.8427 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.006138, allocations: 0 / 0.8427 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.904e-05/0.006167, allocations: 15.97 kB / 0.8427 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/0.006413, allocations: 176.2 kB / 0.8428 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.4e-05/0.006467, allocations: 26.58 kB / 0.8429 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.088e-05/0.006488, allocations: 16.78 kB / 0.8429 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.006502, allocations: 8 kB / 0.8429 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.00652, allocations: 30.69 kB / 0.8429 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.006521, allocations: 0 / 0.8429 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0001456/0.006667, allocations: 57.62 kB / 0.843 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.006692, allocations: 51.41 kB / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.83e-05/0.006761, allocations: 140.9 kB / 0.8432 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.006772, allocations: 33.64 kB / 0.8432 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.006802, allocations: 96.05 kB / 0.8433 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.006817, allocations: 11.91 kB / 0.8433 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.006843, allocations: 21.7 kB / 0.8433 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.006915, allocations: 322.8 kB / 0.8436 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.006927, allocations: 4 kB / 0.8436 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.115e-05/0.006939, allocations: 4 kB / 0.8436 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.902e-05/0.006978, allocations: 24.83 kB / 0.8437 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006979, allocations: 0 / 0.8437 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.724e-05/0.007056, allocations: 61.56 kB / 0.8437 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.007069, allocations: 7.984 kB / 0.8437 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.007073, allocations: 0 / 0.8437 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.007083, allocations: 0 / 0.8437 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.843e-05/0.007151, allocations: 15.98 kB / 0.8437 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-06/0.007153, allocations: 0 / 0.8437 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/0.007176, allocations: 8.391 kB / 0.8437 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.007184, allocations: 4 kB / 0.8437 GB, free: 8.707 MB / 0.8073 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 (6): * Single equations (assignments): 6 * 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 5.237e-05/0.007237, allocations: 105.8 kB / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.007268, allocations: 15.92 kB / 0.8439 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.496e-05/0.007363, allocations: 66.08 kB / 0.8439 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.007364, allocations: 0 / 0.8439 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.007365, allocations: 0 / 0.8439 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.007368, allocations: 0 / 0.8439 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.511e-05/0.007463, allocations: 85.81 kB / 0.844 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.007465, allocations: 0 / 0.844 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.313e-05/0.007508, allocations: 19.98 kB / 0.844 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007509, allocations: 0 / 0.844 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.007518, allocations: 7.922 kB / 0.844 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.007519, allocations: 0 / 0.844 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.007521, allocations: 4 kB / 0.844 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.923e-05/0.00762, allocations: 147.5 kB / 0.8442 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.007631, allocations: 11.94 kB / 0.8442 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.007641, allocations: 3.938 kB / 0.8442 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.861e-05/0.00768, allocations: 4 kB / 0.8442 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.00771, allocations: 3.984 kB / 0.8442 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.007715, allocations: 8 kB / 0.8442 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.128e-05/0.007736, allocations: 29.98 kB / 0.8442 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007736, allocations: 0 / 0.8442 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001379/0.007874, allocations: 20 kB / 0.8443 GB, free: 8.133 MB / 0.8073 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 (6): * Single equations (assignments): 6 * 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.0001291/0.008003, allocations: 96.33 kB / 0.8443 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.946e-05/0.008072, allocations: 28.84 kB / 0.8444 GB, free: 8 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.008075, allocations: 3.938 kB / 0.8444 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.147e-05/0.008096, allocations: 16.84 kB / 0.8444 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.008251, allocations: 17.69 kB / 0.8444 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.008728, allocations: 200.7 kB / 0.8446 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.327e-05/0.008761, allocations: 59.34 kB / 0.8447 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.33e-05/0.008794, allocations: 11.98 kB / 0.8447 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.008852, allocations: 63.38 kB / 0.8447 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of SimCode: time 7.02e-07/0.008853, allocations: 0 / 0.8447 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of Templates: time 0.002993/0.01185, allocations: 1.225 MB / 0.8459 GB, free: 6.375 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.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.302222068421543]