Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001403/0.001403, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001664/0.001664, allocations: 161 kB / 23.82 MB, free: 0.75 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.9131/0.9131, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.822/1.822, allocations: 377.8 MB / 0.6236 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.8116 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.541e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002051/0.002077, allocations: 1.797 MB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0001448/0.002221, allocations: 89.5 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.002269, allocations: 0 / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.935e-05/0.002308, allocations: 7.875 kB / 0.8134 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.263e-05/0.002371, allocations: 24.89 kB / 0.8134 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 9.922e-05/0.00247, allocations: 37.2 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.002584, allocations: 111.6 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.002715, allocations: 33.28 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.92e-05/0.002814, allocations: 59.89 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.985e-05/0.002864, allocations: 38.27 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.002889, allocations: 8 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.002901, allocations: 12 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.002928, allocations: 27.91 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.002962, allocations: 23.92 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.003083, allocations: 83.66 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003085, allocations: 0.5938 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003086, allocations: 0 / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.00309, allocations: 1.531 kB / 0.8139 GB, free: 15.34 MB / 0.7761 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.0004152/0.003506, allocations: 432.2 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.003543, allocations: 9.281 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.003591, allocations: 24.84 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.003731, allocations: 139 kB / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.003744, allocations: 12.31 kB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.003757, allocations: 17.61 kB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.003937, allocations: 101.3 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.003945, allocations: 1.469 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.003955, allocations: 384 / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.003964, allocations: 4.375 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.372e-05/0.004028, allocations: 31.88 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.004386, allocations: 349.4 kB / 0.8149 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.004536, allocations: 54.98 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.151e-05/0.004578, allocations: 24.61 kB / 0.815 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.004588, allocations: 4 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.00461, allocations: 33.92 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.004611, allocations: 0 / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001711/0.004782, allocations: 67.19 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.004812, allocations: 55.41 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.004895, allocations: 185.8 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.004907, allocations: 30.86 kB / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.004964, allocations: 154.7 kB / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.004988, allocations: 19.83 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.005017, allocations: 24.09 kB / 0.8156 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.005125, allocations: 0.4961 MB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.005149, allocations: 4.656 kB / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.95e-05/0.005168, allocations: 7.984 kB / 0.8161 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.686e-05/0.005215, allocations: 28.34 kB / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.005217, allocations: 0 / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.228e-05/0.005299, allocations: 59.38 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.005313, allocations: 11.98 kB / 0.8162 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.005317, allocations: 3.938 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.00533, allocations: 1.281 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.273e-05/0.005392, allocations: 15.98 kB / 0.8162 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.005399, allocations: 4 kB / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.005431, allocations: 12.58 kB / 0.8162 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.005438, allocations: 4.781 kB / 0.8162 GB, free: 12.76 MB / 0.7761 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.502e-05/0.005503, allocations: 164.6 kB / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.00552, allocations: 9.547 kB / 0.8164 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.341e-05/0.005543, allocations: 8.438 kB / 0.8164 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.005546, allocations: 7.984 kB / 0.8164 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.005549, allocations: 3.938 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.005552, allocations: 0.9375 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.005658, allocations: 144.5 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.005659, allocations: 3.406 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.005703, allocations: 15.98 kB / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.005705, allocations: 0 / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.005712, allocations: 4 kB / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.005713, allocations: 0 / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.005715, allocations: 7.922 kB / 0.8165 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.005838, allocations: 207.8 kB / 0.8167 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-06/0.005847, allocations: 7.938 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.005859, allocations: 4 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.594e-05/0.005905, allocations: 8.5 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.005952, allocations: 13.92 kB / 0.8168 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.005956, allocations: 3.984 kB / 0.8168 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.433e-05/0.006001, allocations: 144.5 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006001, allocations: 0 / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001379/0.006139, allocations: 12 kB / 0.8169 GB, free: 11.94 MB / 0.7761 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.139e-05/0.00621, allocations: 96.16 kB / 0.817 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.006313, allocations: 40.39 kB / 0.8171 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.006315, allocations: 4 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.963e-05/0.006345, allocations: 20.34 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.006547, allocations: 22.52 kB / 0.8171 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.006894, allocations: 206.1 kB / 0.8173 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.521e-05/0.006929, allocations: 66.47 kB / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.536e-05/0.006955, allocations: 0 / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.006988, allocations: 12.5 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of SimCode: time 7.71e-07/0.006988, allocations: 0 / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.002731/0.00972, allocations: 1.22 MB / 0.8186 GB, free: 10.25 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.8422476928681135]