Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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.0009626/0.0009626, 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.001379/0.001379, allocations: 177 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 1.119/1.119, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.416/2.416, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.452e-05, allocations: 10.25 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003385/0.003409, allocations: 1.829 MB / 0.8405 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002393/0.003648, allocations: 91.61 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.003706, allocations: 0 / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.464e-05/0.003751, allocations: 7.875 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.254e-05/0.003833, allocations: 23.78 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.003947, allocations: 35.97 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.004085, allocations: 115.6 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.004229, allocations: 33.94 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.004362, allocations: 59.89 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.004429, allocations: 39.88 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.004454, allocations: 8 kB / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.656e-05/0.00447, allocations: 12 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.623e-05/0.004496, allocations: 15.92 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.004542, allocations: 35.91 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.004689, allocations: 75.72 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.004693, allocations: 0 / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.373e-06/0.004694, allocations: 4 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.004698, allocations: 0 / 0.841 GB, free: 11.73 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004417/0.00514, allocations: 316.5 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.005179, allocations: 8.031 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.00522, allocations: 24.86 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.005373, allocations: 121.6 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.005388, allocations: 12.38 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.005404, allocations: 8.375 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.005619, allocations: 104.7 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.005628, allocations: 192 / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.005641, allocations: 8.375 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.005648, allocations: 384 / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.543e-05/0.005704, allocations: 27.86 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.006061, allocations: 224 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.006194, allocations: 34.58 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.006234, allocations: 20.83 kB / 0.8419 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.006246, allocations: 8 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.006271, allocations: 34.69 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.006273, allocations: 0 / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001608/0.006433, allocations: 53.62 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.006469, allocations: 55.41 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.496e-05/0.006554, allocations: 130.7 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.006567, allocations: 25.7 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.006617, allocations: 104.1 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.006646, allocations: 23.8 kB / 0.8423 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.006688, allocations: 21.69 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.006788, allocations: 322.8 kB / 0.8426 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.006808, allocations: 8 kB / 0.8426 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.169e-05/0.00683, allocations: 7.984 kB / 0.8426 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.978e-05/0.00688, allocations: 28.78 kB / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.006882, allocations: 0 / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.14e-05/0.006973, allocations: 45.69 kB / 0.8427 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.006988, allocations: 8 kB / 0.8427 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.006994, allocations: 0 / 0.8427 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.007007, allocations: 0 / 0.8427 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.839e-05/0.007106, allocations: 15.98 kB / 0.8427 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.00711, allocations: 4.438 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.007158, allocations: 15.98 kB / 0.8427 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.007164, allocations: 0 / 0.8427 GB, free: 9.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 6.928e-05/0.007233, allocations: 117.7 kB / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.007261, allocations: 11.92 kB / 0.8429 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/0.007285, allocations: 12.44 kB / 0.8429 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.007288, allocations: 4 kB / 0.8429 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.00729, allocations: 0 / 0.8429 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007293, allocations: 0 / 0.8429 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.007494, allocations: 93.8 kB / 0.843 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.007496, allocations: 4 kB / 0.843 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.092e-05/0.007577, allocations: 19.97 kB / 0.843 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.007581, allocations: 4 kB / 0.843 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.007589, allocations: 0 / 0.843 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.00759, allocations: 0 / 0.843 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.007592, allocations: 0 / 0.843 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.007733, allocations: 151.4 kB / 0.8431 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.437e-05/0.007747, allocations: 11.89 kB / 0.8431 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.007761, allocations: 3.984 kB / 0.8431 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.007837, allocations: 4 kB / 0.8431 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.007884, allocations: 15.98 kB / 0.8432 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.007889, allocations: 0 / 0.8432 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.03e-05/0.007919, allocations: 32.2 kB / 0.8432 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.007919, allocations: 0 / 0.8432 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002195/0.008138, allocations: 15.95 kB / 0.8432 GB, free: 9.258 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.0001109/0.008249, allocations: 80.41 kB / 0.8433 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.361e-05/0.008343, allocations: 24.86 kB / 0.8433 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.008346, allocations: 0 / 0.8433 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.008385, allocations: 24.78 kB / 0.8433 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.008615, allocations: 26.48 kB / 0.8434 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.009291, allocations: 200.5 kB / 0.8436 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.009454, allocations: 63.34 kB / 0.8436 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.449e-05/0.009498, allocations: 3.75 kB / 0.8436 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.266e-05/0.009581, allocations: 67.36 kB / 0.8437 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of SimCode: time 9.32e-07/0.009582, allocations: 0 / 0.8437 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of Templates: time 0.003544/0.01313, allocations: 1.052 MB / 0.8447 GB, free: 7.68 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.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.230523280799389]