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.004551/0.004551, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.004782/0.004782, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9118/0.9118, allocations: 177.2 MB / 203.4 MB, free: 5.641 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 1.971/1.971, allocations: 429.5 MB / 0.6733 GB, free: 4.055 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.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.693e-06/1.693e-06, allocations: 0 / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.018e-05, allocations: 3.375 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002449/0.002479, allocations: 1.808 MB / 0.88 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001703/0.00265, allocations: 81.08 kB / 0.8801 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.915e-05/0.002699, allocations: 0 / 0.8801 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.037e-05/0.002739, allocations: 8.594 kB / 0.8801 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.002806, allocations: 24.44 kB / 0.8801 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001014/0.002907, allocations: 29.56 kB / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.003118, allocations: 111.6 kB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.003256, allocations: 37.28 kB / 0.8803 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.003362, allocations: 63.86 kB / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.967e-05/0.003412, allocations: 33.88 kB / 0.8803 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.003438, allocations: 8 kB / 0.8804 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.003451, allocations: 12 kB / 0.8804 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.003475, allocations: 19.92 kB / 0.8804 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.00351, allocations: 39.89 kB / 0.8804 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.003635, allocations: 82.17 kB / 0.8805 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.003637, allocations: 0 / 0.8805 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.994e-06/0.003639, allocations: 0 / 0.8805 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.003644, allocations: 0 / 0.8805 GB, free: 3.957 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004389/0.004083, allocations: 444.2 kB / 0.8809 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.004123, allocations: 8.031 kB / 0.8809 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.004168, allocations: 17.61 kB / 0.881 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.004303, allocations: 140.4 kB / 0.8811 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.004315, allocations: 10.03 kB / 0.8811 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.004329, allocations: 12.38 kB / 0.8811 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.004522, allocations: 99.88 kB / 0.8812 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.004529, allocations: 1.531 kB / 0.8812 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.004541, allocations: 4.375 kB / 0.8812 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.004548, allocations: 4.375 kB / 0.8812 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.794e-05/0.004606, allocations: 27.92 kB / 0.8812 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.004983, allocations: 355.4 kB / 0.8816 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.005135, allocations: 55 kB / 0.8816 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.887e-05/0.005174, allocations: 19.67 kB / 0.8816 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.005186, allocations: 4 kB / 0.8817 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.00521, allocations: 37.52 kB / 0.8817 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 2.244e-06/0.005212, allocations: 0 / 0.8817 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001727/0.005385, allocations: 70 kB / 0.8818 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.005416, allocations: 55.41 kB / 0.8818 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.393e-05/0.0055, allocations: 189.3 kB / 0.882 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.005512, allocations: 25.7 kB / 0.882 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.005565, allocations: 158.6 kB / 0.8822 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.00559, allocations: 27.73 kB / 0.8822 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.005628, allocations: 27.3 kB / 0.8822 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.005755, allocations: 0.4883 MB / 0.8827 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.772e-05/0.005783, allocations: 8 kB / 0.8827 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.005808, allocations: 11.98 kB / 0.8827 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.996e-05/0.005858, allocations: 23.69 kB / 0.8827 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.00586, allocations: 0 / 0.8827 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.603e-05/0.005956, allocations: 65.64 kB / 0.8828 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.005973, allocations: 8 kB / 0.8828 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.005978, allocations: 0 / 0.8828 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.005993, allocations: 0 / 0.8828 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.999e-05/0.006073, allocations: 19.92 kB / 0.8828 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.006078, allocations: 0 / 0.8828 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.516e-05/0.006114, allocations: 11.98 kB / 0.8828 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.006123, allocations: 3.938 kB / 0.8828 GB, free: 1.359 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 (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.413e-05/0.006197, allocations: 160.6 kB / 0.883 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.006215, allocations: 11.95 kB / 0.883 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.006245, allocations: 12.42 kB / 0.883 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.006247, allocations: 4 kB / 0.883 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.006252, allocations: 0 / 0.883 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.006256, allocations: 0 / 0.883 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.006378, allocations: 148.5 kB / 0.8832 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.006381, allocations: 3.984 kB / 0.8832 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/0.006433, allocations: 15.98 kB / 0.8832 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.006436, allocations: 0 / 0.8832 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.006445, allocations: 4 kB / 0.8832 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.006446, allocations: 256 / 0.8832 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.00645, allocations: 8 kB / 0.8832 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.006605, allocations: 219.8 kB / 0.8834 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.006615, allocations: 3.953 kB / 0.8834 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.006628, allocations: 4 kB / 0.8834 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.772e-05/0.006676, allocations: 7.984 kB / 0.8834 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.006732, allocations: 11.98 kB / 0.8834 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.006737, allocations: 0 / 0.8834 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.947e-05/0.006787, allocations: 143.1 kB / 0.8836 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006787, allocations: 0 / 0.8836 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001582/0.006945, allocations: 19.89 kB / 0.8836 GB, free: 0.5273 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 (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 9.285e-05/0.007038, allocations: 103.2 kB / 0.8837 GB, free: 428 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.007158, allocations: 39.55 kB / 0.8837 GB, free: 384 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.00716, allocations: 0 / 0.8837 GB, free: 384 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.344e-05/0.007193, allocations: 19.69 kB / 0.8837 GB, free: 360 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.007423, allocations: 18.05 kB / 0.8838 GB, free: 344 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004041/0.007827, allocations: 210.2 kB / 0.884 GB, free: 104 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.031e-05/0.007867, allocations: 63.2 kB / 0.884 GB, free: 20 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.991e-05/0.007897, allocations: 4 kB / 0.884 GB, free: 16 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.007936, allocations: 16.5 kB / 0.884 GB, free: 0 / 0.8386 GB Notification: Performance of SimCode: time 1.072e-06/0.007937, allocations: 0 / 0.884 GB, free: 0 / 0.8386 GB Notification: Performance of Templates: time 0.003132/0.01107, allocations: 1.226 MB / 0.8852 GB, free: 14.79 MB / 0.8542 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 -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.158485716674477]