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.0009088/0.0009088, allocations: 80.94 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.000942/0.000942, allocations: 177 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 0.9149/0.9149, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.309/2.309, allocations: 438.8 MB / 0.6827 GB, free: 13.56 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 2.064e-06/2.064e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.671e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003037/0.003063, allocations: 1.681 MB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.004762, allocations: 0.958 MB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.756e-05/0.00484, allocations: 3.938 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.52e-05/0.004875, allocations: 7.938 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.005105, allocations: 27.78 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004794/0.005584, allocations: 163.4 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.005747, allocations: 75.66 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.67e-05/0.005834, allocations: 19.97 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.006, allocations: 47.84 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.659e-05/0.006086, allocations: 35.89 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.006104, allocations: 4 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004101/0.006514, allocations: 271.6 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.006537, allocations: 15.92 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.006567, allocations: 15.98 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.00685, allocations: 167.5 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.006854, allocations: 0 / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.152e-06/0.006855, allocations: 0 / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.006859, allocations: 0 / 0.842 GB, free: 10.63 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.000446/0.007305, allocations: 324.2 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.007343, allocations: 12.62 kB / 0.8423 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002368/0.007579, allocations: 24.91 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.007753, allocations: 137.6 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.007763, allocations: 4.375 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.007776, allocations: 384 / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.007902, allocations: 74.47 kB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.007909, allocations: 4 kB / 0.8426 GB, free: 10 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.007917, allocations: 0 / 0.8426 GB, free: 10 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.007923, allocations: 0 / 0.8426 GB, free: 10 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.741e-05/0.00796, allocations: 11.94 kB / 0.8426 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.008263, allocations: 172.4 kB / 0.8428 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.294e-05/0.008346, allocations: 30.56 kB / 0.8428 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.008372, allocations: 16.92 kB / 0.8428 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.008386, allocations: 0 / 0.8428 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.008408, allocations: 34.56 kB / 0.8428 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 2.224e-06/0.00841, allocations: 7.984 kB / 0.8428 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0001781/0.008588, allocations: 57.61 kB / 0.8429 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.008623, allocations: 51.41 kB / 0.8429 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.668e-05/0.00872, allocations: 136.7 kB / 0.8431 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.008734, allocations: 29.7 kB / 0.8431 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.008777, allocations: 92.06 kB / 0.8432 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.008797, allocations: 15.89 kB / 0.8432 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.008837, allocations: 17.7 kB / 0.8432 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.008933, allocations: 322.8 kB / 0.8435 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.008952, allocations: 4.25 kB / 0.8435 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.008971, allocations: 12 kB / 0.8435 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.6e-05/0.009027, allocations: 28.78 kB / 0.8436 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.009029, allocations: 0 / 0.8436 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001086/0.009138, allocations: 53.61 kB / 0.8436 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.00915, allocations: 4 kB / 0.8436 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.009155, allocations: 0 / 0.8436 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.00917, allocations: 4 kB / 0.8436 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.00926, allocations: 11.98 kB / 0.8436 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.009263, allocations: 7.922 kB / 0.8436 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.845e-05/0.009302, allocations: 7.953 kB / 0.8437 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.00931, allocations: 8 kB / 0.8437 GB, free: 8.789 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 7.004e-05/0.00938, allocations: 109.8 kB / 0.8438 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.009427, allocations: 15.92 kB / 0.8438 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.009552, allocations: 58.14 kB / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.009554, allocations: 0 / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.009555, allocations: 0 / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.00956, allocations: 0 / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.009707, allocations: 89.8 kB / 0.8439 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.009708, allocations: 0 / 0.8439 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.456e-05/0.009773, allocations: 11.98 kB / 0.8439 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.009776, allocations: 4 kB / 0.8439 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.009783, allocations: 4.188 kB / 0.8439 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.009786, allocations: 4 kB / 0.8439 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.009788, allocations: 4 kB / 0.844 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.009925, allocations: 147.5 kB / 0.8441 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.009939, allocations: 7.953 kB / 0.8441 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.009954, allocations: 3.938 kB / 0.8441 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-05/0.01002, allocations: 4 kB / 0.8441 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.01006, allocations: 7.984 kB / 0.8441 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.01006, allocations: 4 kB / 0.8441 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.422e-05/0.0101, allocations: 30.03 kB / 0.8441 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.01e-07/0.0101, allocations: 0 / 0.8441 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000251/0.01035, allocations: 27.98 kB / 0.8442 GB, free: 8.215 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.0001708/0.01052, allocations: 88.36 kB / 0.8443 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.027e-05/0.01061, allocations: 28.78 kB / 0.8443 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.01061, allocations: 0 / 0.8443 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.151e-05/0.01064, allocations: 20.84 kB / 0.8443 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.01086, allocations: 8 kB / 0.8443 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006247/0.01149, allocations: 204.7 kB / 0.8445 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.636e-05/0.01153, allocations: 63.34 kB / 0.8446 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.723e-05/0.01158, allocations: 7.984 kB / 0.8446 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.506e-05/0.01166, allocations: 59.38 kB / 0.8446 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of SimCode: time 9.31e-07/0.01166, allocations: 3.938 kB / 0.8446 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of Templates: time 0.003784/0.01544, allocations: 1.236 MB / 0.8458 GB, free: 6.457 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 -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.032298134174198]