Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.0009653/0.0009653, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001173/0.001173, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9393/0.9393, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.288/2.288, allocations: 438.8 MB / 0.6827 GB, free: 13.64 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.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.441e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.006258/0.006283, allocations: 2.156 MB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002327/0.00861, allocations: 1.055 MB / 0.8418 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.00878, allocations: 7.938 kB / 0.8418 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.704e-05/0.008847, allocations: 27.66 kB / 0.8418 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004375/0.009284, allocations: 87.17 kB / 0.8419 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006024/0.009887, allocations: 195.5 kB / 0.8421 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004583/0.01034, allocations: 306.6 kB / 0.8424 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.01054, allocations: 42.88 kB / 0.8424 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.01079, allocations: 151.7 kB / 0.8426 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.01104, allocations: 111.7 kB / 0.8427 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.01108, allocations: 16 kB / 0.8427 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004806/0.01157, allocations: 287.5 kB / 0.8429 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.01162, allocations: 43.83 kB / 0.843 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.698e-05/0.01171, allocations: 75.77 kB / 0.8431 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004654/0.01218, allocations: 306.8 kB / 0.8434 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.01218, allocations: 4 kB / 0.8434 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.523e-06/0.01218, allocations: 0 / 0.8434 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.01219, allocations: 0 / 0.8434 GB, free: 9.32 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008811/0.01307, allocations: 0.5032 MB / 0.8438 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.01312, allocations: 16.56 kB / 0.8439 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002704/0.01339, allocations: 44.91 kB / 0.8439 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.01373, allocations: 208.8 kB / 0.8441 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.01376, allocations: 16.58 kB / 0.8441 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.01378, allocations: 12.38 kB / 0.8441 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.01414, allocations: 198.5 kB / 0.8443 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.01416, allocations: 0 / 0.8443 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.01418, allocations: 8 kB / 0.8443 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.01419, allocations: 7.938 kB / 0.8443 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.01431, allocations: 43.41 kB / 0.8444 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000885/0.0152, allocations: 0.7038 MB / 0.8451 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.0156, allocations: 141.2 kB / 0.8452 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.01567, allocations: 33.84 kB / 0.8452 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.0157, allocations: 4 kB / 0.8452 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.01573, allocations: 42.5 kB / 0.8453 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.01573, allocations: 0 / 0.8453 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0003593/0.01609, allocations: 109.6 kB / 0.8454 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.01615, allocations: 89.03 kB / 0.8455 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.01636, allocations: 250.9 kB / 0.8457 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.01638, allocations: 25.7 kB / 0.8457 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.758e-05/0.01647, allocations: 136.8 kB / 0.8459 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.01652, allocations: 55.52 kB / 0.8459 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-05/0.01659, allocations: 45.55 kB / 0.846 GB, free: 6.465 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.01671, allocations: 346.7 kB / 0.8463 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.624e-05/0.01677, allocations: 15.98 kB / 0.8463 GB, free: 6.102 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.76e-05/0.01685, allocations: 66.05 kB / 0.8464 GB, free: 6.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.01702, allocations: 101.8 kB / 0.8465 GB, free: 5.898 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.01702, allocations: 0 / 0.8465 GB, free: 5.898 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002919/0.01732, allocations: 133.4 kB / 0.8466 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.01733, allocations: 4 kB / 0.8466 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.01735, allocations: 7.938 kB / 0.8466 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.01736, allocations: 8.156 kB / 0.8466 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.01756, allocations: 43.97 kB / 0.8467 GB, free: 5.699 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.01756, allocations: 7.922 kB / 0.8467 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.0177, allocations: 27.88 kB / 0.8467 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.01772, allocations: 8 kB / 0.8467 GB, free: 5.656 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 0.0001044/0.01782, allocations: 117.8 kB / 0.8468 GB, free: 5.531 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.01794, allocations: 19.92 kB / 0.8468 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.0182, allocations: 148.1 kB / 0.847 GB, free: 5.363 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.0182, allocations: 4 kB / 0.847 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.01821, allocations: 0 / 0.847 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.01821, allocations: 0 / 0.847 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.01849, allocations: 141.9 kB / 0.8471 GB, free: 5.203 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.0185, allocations: 0 / 0.8471 GB, free: 5.203 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.01867, allocations: 43.91 kB / 0.8471 GB, free: 5.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.01867, allocations: 4 kB / 0.8472 GB, free: 5.156 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.01869, allocations: 4 kB / 0.8472 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.01869, allocations: 3.984 kB / 0.8472 GB, free: 5.148 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.0187, allocations: 11.94 kB / 0.8472 GB, free: 5.137 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.01901, allocations: 282.7 kB / 0.8474 GB, free: 4.844 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.01905, allocations: 27.75 kB / 0.8475 GB, free: 4.816 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.01907, allocations: 3.938 kB / 0.8475 GB, free: 4.812 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.01925, allocations: 23.98 kB / 0.8475 GB, free: 4.789 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.01932, allocations: 23.91 kB / 0.8475 GB, free: 4.766 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.01933, allocations: 4 kB / 0.8475 GB, free: 4.762 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.902e-05/0.01943, allocations: 88.62 kB / 0.8476 GB, free: 4.676 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.01943, allocations: 4 kB / 0.8476 GB, free: 4.672 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003416/0.01977, allocations: 51.94 kB / 0.8477 GB, free: 4.621 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0001963/0.01997, allocations: 104.3 kB / 0.8478 GB, free: 4.508 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.02015, allocations: 88.64 kB / 0.8478 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.02015, allocations: 4 kB / 0.8478 GB, free: 4.414 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.882e-05/0.02023, allocations: 48.7 kB / 0.8479 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.0207, allocations: 79.22 kB / 0.848 GB, free: 4.285 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009125/0.02162, allocations: 435.6 kB / 0.8484 GB, free: 3.828 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.355e-05/0.02169, allocations: 80.33 kB / 0.8485 GB, free: 3.73 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.02183, allocations: 34.41 kB / 0.8485 GB, free: 3.699 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.02205, allocations: 121.2 kB / 0.8486 GB, free: 3.578 MB / 0.8073 GB Notification: Performance of SimCode: time 7.91e-07/0.02205, allocations: 0 / 0.8486 GB, free: 3.578 MB / 0.8073 GB Notification: Performance of Templates: time 0.007423/0.02947, allocations: 4.413 MB / 0.8529 GB, free: 15.28 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.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.1559550440870225]