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.0009913/0.0009913, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009999/0.0009999, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9942/0.9942, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.878/1.878, allocations: 377.9 MB / 0.6239 GB, free: 8.391 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.824e-06/1.824e-06, allocations: 0 / 0.812 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.409e-05, allocations: 2.312 kB / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003182/0.003206, allocations: 1.777 MB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0002286/0.003435, allocations: 93.34 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.984e-05/0.003505, allocations: 4 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.517e-05/0.00355, allocations: 7.875 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.979e-05/0.00364, allocations: 21.27 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.003761, allocations: 35.95 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.003911, allocations: 107.7 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.004065, allocations: 33.28 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.004189, allocations: 61.05 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.392e-05/0.004253, allocations: 39.88 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.004278, allocations: 12 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.546e-05/0.004293, allocations: 9.594 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.861e-05/0.004322, allocations: 23.92 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.004363, allocations: 23.92 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.004495, allocations: 83.64 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.004499, allocations: 4.719 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.92e-07/0.0045, allocations: 4 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.004504, allocations: 0.5312 kB / 0.8143 GB, free: 15.09 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.00048/0.004984, allocations: 429.8 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.005027, allocations: 12.03 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.00507, allocations: 24.78 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.005217, allocations: 137 kB / 0.8149 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.00523, allocations: 4.375 kB / 0.8149 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.005246, allocations: 8.938 kB / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.005453, allocations: 101.9 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.005462, allocations: 1.344 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.005473, allocations: 4.312 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.00548, allocations: 4.375 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.047e-05/0.00554, allocations: 25.25 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.00595, allocations: 336 kB / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.00609, allocations: 48.81 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/0.006131, allocations: 19.67 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/0.006141, allocations: 0 / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.006169, allocations: 45.27 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.00617, allocations: 2.188 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001781/0.006348, allocations: 65.94 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.006379, allocations: 51.41 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.006486, allocations: 184 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.006499, allocations: 25.7 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.006819, allocations: 158.7 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.006845, allocations: 18.53 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.006891, allocations: 31.34 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.007027, allocations: 0.4922 MB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/0.007049, allocations: 0 / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.007071, allocations: 11.98 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.854e-05/0.00712, allocations: 23.62 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.007122, allocations: 0 / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001026/0.007225, allocations: 59.23 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.007239, allocations: 4 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.007244, allocations: 4 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.007256, allocations: 0 / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.576e-05/0.007352, allocations: 16.48 kB / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.007355, allocations: 0.5 kB / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.007409, allocations: 21.5 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.007416, allocations: 0 / 0.8166 GB, free: 12.58 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 7.894e-05/0.007495, allocations: 164.5 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.007525, allocations: 10.55 kB / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.007556, allocations: 8.438 kB / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.007558, allocations: 0 / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.00756, allocations: 4.438 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.007563, allocations: 0 / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.007709, allocations: 125.1 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.007712, allocations: 4 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.221e-05/0.007794, allocations: 16.48 kB / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.007798, allocations: 9.016 kB / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.007805, allocations: 4 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.007806, allocations: 0 / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.007807, allocations: 0.9062 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.007969, allocations: 207.8 kB / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.007979, allocations: 12.73 kB / 0.8171 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.007991, allocations: 0 / 0.8171 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.451e-05/0.008076, allocations: 19.67 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.008119, allocations: 7.984 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.008125, allocations: 4 kB / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.544e-05/0.008181, allocations: 135.1 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.008181, allocations: 0 / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002049/0.008386, allocations: 16 kB / 0.8173 GB, free: 11.79 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.856e-05/0.008464, allocations: 95.25 kB / 0.8174 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.644e-05/0.008541, allocations: 35.66 kB / 0.8174 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.008543, allocations: 5.719 kB / 0.8174 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.337e-05/0.008566, allocations: 19.67 kB / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.008753, allocations: 22.53 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.00905, allocations: 204.3 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.266e-05/0.009082, allocations: 59.34 kB / 0.8177 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.009107, allocations: 5.125 kB / 0.8177 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.009173, allocations: 83.22 kB / 0.8178 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of SimCode: time 3.51e-07/0.009173, allocations: 0 / 0.8178 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of Templates: time 0.002611/0.01178, allocations: 1.239 MB / 0.819 GB, free: 10.01 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.890974098816514]