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.001346/0.001346, allocations: 93.06 kB / 19.65 MB, free: 272 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.001442/0.001442, allocations: 169 kB / 23.02 MB, free: 1.547 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.9843/0.9843, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.14/2.14, allocations: 429.4 MB / 0.6732 GB, free: 4.047 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.513e-06/1.513e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.155e-05, allocations: 5.547 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002323/0.002344, allocations: 1.799 MB / 0.88 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001788/0.002523, allocations: 87.67 kB / 0.8801 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.002574, allocations: 0 / 0.8801 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.263e-05/0.002617, allocations: 7.875 kB / 0.8801 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.671e-05/0.002684, allocations: 26.16 kB / 0.8801 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001137/0.002797, allocations: 27.97 kB / 0.8801 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.002923, allocations: 107.7 kB / 0.8802 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.003081, allocations: 41.22 kB / 0.8803 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.845e-05/0.00318, allocations: 56.61 kB / 0.8803 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/0.003244, allocations: 39.88 kB / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.003271, allocations: 13.66 kB / 0.8804 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.003285, allocations: 8 kB / 0.8804 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.208e-05/0.003317, allocations: 27.91 kB / 0.8804 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.003361, allocations: 31.91 kB / 0.8804 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.003493, allocations: 79.67 kB / 0.8805 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003495, allocations: 0.5 kB / 0.8805 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003495, allocations: 5.844 kB / 0.8805 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.003501, allocations: 0 / 0.8805 GB, free: 3.941 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.0004577/0.003959, allocations: 440.2 kB / 0.8809 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.003998, allocations: 9.375 kB / 0.8809 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.004041, allocations: 20.89 kB / 0.881 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.004211, allocations: 148.4 kB / 0.8811 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.004223, allocations: 5.969 kB / 0.8811 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.004239, allocations: 8.375 kB / 0.8811 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.004423, allocations: 99.42 kB / 0.8812 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.004432, allocations: 4.188 kB / 0.8812 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.004444, allocations: 384 / 0.8812 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.004452, allocations: 4.375 kB / 0.8812 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.765e-05/0.00452, allocations: 37.73 kB / 0.8812 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.004911, allocations: 351.4 kB / 0.8816 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.005059, allocations: 51.05 kB / 0.8816 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.68e-05/0.005105, allocations: 19.81 kB / 0.8817 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.005116, allocations: 0 / 0.8817 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.005139, allocations: 37.39 kB / 0.8817 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 6.21e-07/0.00514, allocations: 4 kB / 0.8817 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001807/0.00532, allocations: 69.75 kB / 0.8818 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.005353, allocations: 59.34 kB / 0.8818 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.382e-05/0.005447, allocations: 185.1 kB / 0.882 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.005459, allocations: 29.7 kB / 0.882 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.005527, allocations: 158.6 kB / 0.8822 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.005557, allocations: 23.78 kB / 0.8822 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.00559, allocations: 23.38 kB / 0.8822 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.005732, allocations: 0.4922 MB / 0.8827 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.451e-05/0.005756, allocations: 4 kB / 0.8827 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.057e-05/0.005777, allocations: 12 kB / 0.8827 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.336e-05/0.00583, allocations: 36 kB / 0.8827 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005832, allocations: 0 / 0.8827 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.28e-05/0.005915, allocations: 61.64 kB / 0.8828 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.005927, allocations: 4 kB / 0.8828 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.005935, allocations: 4 kB / 0.8828 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.00595, allocations: 0 / 0.8828 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.006021, allocations: 15.98 kB / 0.8828 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.006028, allocations: 0 / 0.8828 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.347e-05/0.006062, allocations: 11.98 kB / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.006069, allocations: 7.938 kB / 0.8828 GB, free: 1.34 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.705e-05/0.006146, allocations: 164.5 kB / 0.883 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.006164, allocations: 7.953 kB / 0.883 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.006193, allocations: 12.42 kB / 0.883 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.006195, allocations: 4 kB / 0.883 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.0062, allocations: 0 / 0.883 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.006204, allocations: 0 / 0.883 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.006327, allocations: 144.5 kB / 0.8832 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006328, allocations: 0 / 0.8832 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-05/0.006372, allocations: 19.98 kB / 0.8832 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.006373, allocations: 0 / 0.8832 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.006383, allocations: 3.984 kB / 0.8832 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.006383, allocations: 4 kB / 0.8832 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006384, allocations: 0 / 0.8832 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.006531, allocations: 211.8 kB / 0.8834 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.006538, allocations: 7.891 kB / 0.8834 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.006551, allocations: 4 kB / 0.8834 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.572e-05/0.006597, allocations: 12.11 kB / 0.8834 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.006647, allocations: 15.92 kB / 0.8834 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.006651, allocations: 4 kB / 0.8834 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.594e-05/0.006707, allocations: 147.1 kB / 0.8836 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006707, allocations: 0 / 0.8836 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001449/0.006852, allocations: 15.95 kB / 0.8836 GB, free: 0.5078 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 7.632e-05/0.006929, allocations: 95.25 kB / 0.8837 GB, free: 416 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.007037, allocations: 35.61 kB / 0.8837 GB, free: 376 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.007039, allocations: 0 / 0.8837 GB, free: 376 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.696e-05/0.007075, allocations: 31.61 kB / 0.8837 GB, free: 340 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.007275, allocations: 16 kB / 0.8838 GB, free: 324 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.007652, allocations: 198.3 kB / 0.8839 GB, free: 96 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.609e-05/0.007698, allocations: 63.2 kB / 0.884 GB, free: 12 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.857e-05/0.007727, allocations: 7.984 kB / 0.884 GB, free: 4 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.007778, allocations: 12.5 kB / 0.884 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of SimCode: time 1.362e-06/0.00778, allocations: 4 kB / 0.884 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of Templates: time 0.002841/0.01062, allocations: 1.15 MB / 0.8852 GB, free: 14.86 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.46058538230136]