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.001383/0.001383, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009643/0.0009643, allocations: 169 kB / 24.28 MB, free: 276 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.9872/0.9872, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.863/1.863, allocations: 377.8 MB / 0.6239 GB, free: 8.531 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 2.244e-06/2.244e-06, allocations: 0 / 0.8116 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.388e-05, allocations: 3.078 kB / 0.8116 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003928/0.003962, allocations: 1.789 MB / 0.8133 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000201/0.004163, allocations: 84.89 kB / 0.8134 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.004215, allocations: 3.938 kB / 0.8134 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.004249, allocations: 12.64 kB / 0.8134 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.636e-05/0.004306, allocations: 16.75 kB / 0.8134 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 9.016e-05/0.004396, allocations: 35.95 kB / 0.8135 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.004529, allocations: 104.4 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.004671, allocations: 41.66 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.079e-05/0.004752, allocations: 63.88 kB / 0.8137 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.004803, allocations: 36.39 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.004826, allocations: 9.25 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.004836, allocations: 12 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.004864, allocations: 23.92 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.004898, allocations: 34.25 kB / 0.8138 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.005022, allocations: 79.66 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.005026, allocations: 4 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.853e-06/0.005028, allocations: 0 / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.005033, allocations: 4 kB / 0.8139 GB, free: 15.67 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.0004476/0.00548, allocations: 432.8 kB / 0.8143 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.005519, allocations: 9.562 kB / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.005564, allocations: 28.84 kB / 0.8143 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.005719, allocations: 144.4 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.005727, allocations: 384 / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.005739, allocations: 13.59 kB / 0.8145 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.005922, allocations: 101.1 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.005928, allocations: 0.6875 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.00594, allocations: 384 / 0.8146 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.005947, allocations: 5.656 kB / 0.8146 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.371e-05/0.006011, allocations: 35.81 kB / 0.8146 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.00637, allocations: 356.7 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.006516, allocations: 54.98 kB / 0.815 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.909e-05/0.006555, allocations: 20.34 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.006566, allocations: 0 / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.006588, allocations: 37.92 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.006589, allocations: 0.875 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001952/0.006784, allocations: 65.81 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.006823, allocations: 56.16 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.115e-05/0.006914, allocations: 188.4 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.006924, allocations: 26.23 kB / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.133e-05/0.006985, allocations: 154.7 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.007012, allocations: 25.17 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.007044, allocations: 23.38 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002172/0.007261, allocations: 0.4922 MB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.552e-05/0.007287, allocations: 5.156 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/0.007308, allocations: 11.98 kB / 0.8161 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.239e-05/0.007361, allocations: 27.69 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.007363, allocations: 0 / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.665e-05/0.007449, allocations: 58.31 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.007463, allocations: 7.344 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.007468, allocations: 0 / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.007481, allocations: 5.062 kB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.067e-05/0.007551, allocations: 21.3 kB / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.007556, allocations: 0 / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.685e-05/0.007593, allocations: 19.94 kB / 0.8162 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.0076, allocations: 4.844 kB / 0.8162 GB, free: 13.09 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.556e-05/0.007665, allocations: 160.6 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.007684, allocations: 8.797 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.007717, allocations: 8.438 kB / 0.8164 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.00772, allocations: 5.281 kB / 0.8164 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.007724, allocations: 0 / 0.8164 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.007727, allocations: 0 / 0.8164 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.007842, allocations: 148.5 kB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007843, allocations: 0.5938 kB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.751e-05/0.007891, allocations: 16.8 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.007893, allocations: 7.922 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.0079, allocations: 5.562 kB / 0.8165 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.12e-07/0.007901, allocations: 4 kB / 0.8165 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007902, allocations: 0 / 0.8165 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.008032, allocations: 211.8 kB / 0.8167 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.00804, allocations: 8.844 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.008052, allocations: 0 / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.741e-05/0.0081, allocations: 19.42 kB / 0.8168 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.008146, allocations: 11.98 kB / 0.8168 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.008149, allocations: 0 / 0.8168 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.485e-05/0.008194, allocations: 140.9 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008194, allocations: 4 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001428/0.008337, allocations: 12 kB / 0.8169 GB, free: 12.27 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 9.907e-05/0.008436, allocations: 99.19 kB / 0.817 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.00854, allocations: 35.61 kB / 0.8171 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.008542, allocations: 0.5 kB / 0.8171 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.431e-05/0.008576, allocations: 25.62 kB / 0.8171 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.008797, allocations: 20.28 kB / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.009168, allocations: 209 kB / 0.8173 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.706e-05/0.009205, allocations: 63.34 kB / 0.8174 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.569e-05/0.009231, allocations: 0 / 0.8174 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.009265, allocations: 15.66 kB / 0.8174 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.009266, allocations: 0 / 0.8174 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of Templates: time 0.002784/0.01205, allocations: 1.143 MB / 0.8185 GB, free: 10.66 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.94930468685925]