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.0009396/0.0009396, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001284/0.001284, allocations: 169.8 kB / 24.87 MB, free: 8.828 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.861/1.861, allocations: 377.9 MB / 0.6247 GB, free: 8.426 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.263e-06/1.263e-06, allocations: 0 / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.598e-05, allocations: 10.25 kB / 0.8128 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.005675/0.005701, allocations: 1.779 MB / 0.8146 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0001757/0.005877, allocations: 88.36 kB / 0.8147 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.005933, allocations: 0 / 0.8147 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.61e-05/0.005969, allocations: 8.781 kB / 0.8147 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.907e-05/0.006038, allocations: 20.5 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 9.736e-05/0.006136, allocations: 29.22 kB / 0.8147 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.006258, allocations: 111.6 kB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.006393, allocations: 37.28 kB / 0.8149 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.971e-05/0.006493, allocations: 59.88 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.64e-05/0.006549, allocations: 40.77 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.006572, allocations: 11.94 kB / 0.815 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.006586, allocations: 12.84 kB / 0.815 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.006611, allocations: 15.92 kB / 0.815 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.792e-05/0.006648, allocations: 40.77 kB / 0.815 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.006767, allocations: 79.61 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.00677, allocations: 0 / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.006771, allocations: 1.25 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.006775, allocations: 0 / 0.8151 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.003455/0.01023, allocations: 437.9 kB / 0.8155 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.01027, allocations: 8.031 kB / 0.8155 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.01031, allocations: 20.84 kB / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.01045, allocations: 145.8 kB / 0.8157 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.01046, allocations: 9.625 kB / 0.8157 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.01048, allocations: 4.375 kB / 0.8157 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.01066, allocations: 95.88 kB / 0.8158 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.01067, allocations: 4.172 kB / 0.8158 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.01068, allocations: 4.375 kB / 0.8158 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.01069, allocations: 4.875 kB / 0.8158 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.829e-05/0.01073, allocations: 28.88 kB / 0.8158 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.01109, allocations: 329.9 kB / 0.8161 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.01121, allocations: 51.03 kB / 0.8162 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.01124, allocations: 19.81 kB / 0.8162 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.01125, allocations: 4 kB / 0.8162 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.01128, allocations: 34.92 kB / 0.8163 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.01128, allocations: 0 / 0.8163 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001631/0.01144, allocations: 65.75 kB / 0.8163 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.01147, allocations: 51.41 kB / 0.8164 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.01155, allocations: 192.1 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.01157, allocations: 25.7 kB / 0.8166 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.01162, allocations: 152.1 kB / 0.8167 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.01165, allocations: 23.83 kB / 0.8167 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.01169, allocations: 23.36 kB / 0.8168 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.01181, allocations: 0.4922 MB / 0.8172 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.257e-05/0.01183, allocations: 8.578 kB / 0.8173 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.873e-05/0.01185, allocations: 4.688 kB / 0.8173 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.945e-05/0.0119, allocations: 19.69 kB / 0.8173 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.0119, allocations: 5.906 kB / 0.8173 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.663e-05/0.012, allocations: 61.95 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.01201, allocations: 8 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.01202, allocations: 0 / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.01202, allocations: 0 / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.524e-05/0.01211, allocations: 20.67 kB / 0.8174 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.01211, allocations: 4.719 kB / 0.8174 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.01216, allocations: 11.94 kB / 0.8174 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.01216, allocations: 1.219 kB / 0.8174 GB, free: 12.57 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.804e-05/0.01224, allocations: 164.5 kB / 0.8175 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.01227, allocations: 8.516 kB / 0.8175 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.0123, allocations: 12.44 kB / 0.8176 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.0123, allocations: 1.156 kB / 0.8176 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.0123, allocations: 0 / 0.8176 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.0123, allocations: 7.922 kB / 0.8176 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.01244, allocations: 122 kB / 0.8177 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01244, allocations: 0 / 0.8177 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.618e-05/0.01251, allocations: 20.92 kB / 0.8177 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.01251, allocations: 0 / 0.8177 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-06/0.01251, allocations: 1.344 kB / 0.8177 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01252, allocations: 0 / 0.8177 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01252, allocations: 0 / 0.8177 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.01266, allocations: 211.8 kB / 0.8179 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.01267, allocations: 4.828 kB / 0.8179 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.01268, allocations: 4 kB / 0.8179 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.01275, allocations: 10.11 kB / 0.8179 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003058/0.01581, allocations: 11.98 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.01581, allocations: 7.875 kB / 0.8179 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.352e-05/0.01587, allocations: 139.1 kB / 0.8181 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01587, allocations: 0 / 0.8181 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002238/0.01609, allocations: 20.59 kB / 0.8181 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 0.0001117/0.0162, allocations: 98.69 kB / 0.8182 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.654e-05/0.0163, allocations: 27.67 kB / 0.8182 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.0163, allocations: 0 / 0.8182 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.788e-05/0.01634, allocations: 27.8 kB / 0.8182 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.00027/0.01661, allocations: 16.06 kB / 0.8183 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.01698, allocations: 203.3 kB / 0.8185 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.927e-05/0.01702, allocations: 64.72 kB / 0.8185 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.853e-05/0.01706, allocations: 4.766 kB / 0.8185 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.449e-05/0.01713, allocations: 82.2 kB / 0.8186 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.01713, allocations: 0.5625 kB / 0.8186 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of Templates: time 0.005191/0.02233, allocations: 1.266 MB / 0.8198 GB, free: 9.98 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.885999674908817]