Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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.001195/0.001195, allocations: 83.59 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.001367/0.001367, allocations: 169 kB / 23.82 MB, free: 0.7422 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.015/1.015, allocations: 177.1 MB / 204.2 MB, free: 5.211 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 2.028/2.028, allocations: 377.8 MB / 0.6236 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 177] 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.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.415e-05/3.606e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.004587/0.004623, allocations: 2.022 MB / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.006353, allocations: 0.7311 MB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.006509, allocations: 3.938 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.006693, allocations: 21.48 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.006819, allocations: 27.73 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.007379, allocations: 105.2 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.007624, allocations: 143.6 kB / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.00783, allocations: 65 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.008088, allocations: 97.41 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.008205, allocations: 55.8 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/0.008242, allocations: 16 kB / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.008428, allocations: 63.89 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.008529, allocations: 71.75 kB / 0.8149 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.691e-05/0.008596, allocations: 52.45 kB / 0.8149 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.008948, allocations: 196.1 kB / 0.8151 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.008952, allocations: 0 / 0.8151 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.263e-06/0.008954, allocations: 3.938 kB / 0.8151 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.008959, allocations: 1.594 kB / 0.8151 GB, free: 14.03 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008169/0.009776, allocations: 0.5735 MB / 0.8157 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.009821, allocations: 10.62 kB / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.01117, allocations: 487.7 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.01165, allocations: 260.3 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.01179, allocations: 136.7 kB / 0.8165 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.01183, allocations: 16.38 kB / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006484/0.01248, allocations: 347.4 kB / 0.8169 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.01249, allocations: 192 / 0.8169 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.01251, allocations: 10.34 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.01253, allocations: 4 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004877/0.01301, allocations: 324 kB / 0.8172 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.01448, allocations: 0.9258 MB / 0.8181 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004727/0.01495, allocations: 240.8 kB / 0.8183 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.0152, allocations: 168.2 kB / 0.8185 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.01522, allocations: 5.375 kB / 0.8185 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.01526, allocations: 41.33 kB / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.01526, allocations: 0 / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0008715/0.01613, allocations: 0.5178 MB / 0.8191 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.01616, allocations: 51.41 kB / 0.8191 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.01646, allocations: 308.3 kB / 0.8194 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.01649, allocations: 26.36 kB / 0.8194 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.01662, allocations: 207.2 kB / 0.8196 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.01666, allocations: 27.94 kB / 0.8196 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.01679, allocations: 82.97 kB / 0.8197 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.01695, allocations: 0.504 MB / 0.8202 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.01722, allocations: 183.8 kB / 0.8204 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.01746, allocations: 176.1 kB / 0.8206 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004311/0.01789, allocations: 301.1 kB / 0.8209 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.0179, allocations: 0 / 0.8209 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006571/0.01855, allocations: 426.1 kB / 0.8213 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.01858, allocations: 5.125 kB / 0.8213 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.01858, allocations: 0 / 0.8213 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.0186, allocations: 0 / 0.8213 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.01894, allocations: 121.9 kB / 0.8214 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.01895, allocations: 0 / 0.8214 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.01913, allocations: 73.34 kB / 0.8214 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.01929, allocations: 138.5 kB / 0.8216 GB, free: 7.227 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: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.000133/0.01942, allocations: 152.6 kB / 0.8217 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.42e-05/0.0195, allocations: 33.14 kB / 0.8218 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.01954, allocations: 17.77 kB / 0.8218 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01955, allocations: 3.938 kB / 0.8218 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01955, allocations: 2.688 kB / 0.8218 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.01956, allocations: 4 kB / 0.8218 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.02, allocations: 359.5 kB / 0.8221 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.02, allocations: 0 / 0.8221 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.02029, allocations: 113.4 kB / 0.8222 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.02029, allocations: 3.938 kB / 0.8222 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-05/0.02034, allocations: 31.89 kB / 0.8223 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.02034, allocations: 0 / 0.8223 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.02034, allocations: 0.5938 kB / 0.8223 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007464/0.02109, allocations: 0.5659 MB / 0.8228 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.02113, allocations: 23.8 kB / 0.8228 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.02117, allocations: 11.92 kB / 0.8229 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.02141, allocations: 59.86 kB / 0.8229 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.02147, allocations: 7.984 kB / 0.8229 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/0.02162, allocations: 143.7 kB / 0.8231 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001887/0.02181, allocations: 209.1 kB / 0.8233 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/0.02181, allocations: 0 / 0.8233 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003723/0.02218, allocations: 51.88 kB / 0.8233 GB, free: 5.402 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: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0002085/0.02239, allocations: 107.2 kB / 0.8234 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006438/0.02304, allocations: 411.2 kB / 0.8238 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.02304, allocations: 0 / 0.8238 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.02337, allocations: 227.5 kB / 0.824 GB, free: 4.656 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.02375, allocations: 44.34 kB / 0.8241 GB, free: 4.613 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.02499, allocations: 0.5224 MB / 0.8246 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.698e-05/0.02507, allocations: 83.81 kB / 0.8247 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0005105/0.02558, allocations: 376.8 kB / 0.825 GB, free: 3.598 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.02574, allocations: 64.42 kB / 0.8251 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of SimCode: time 1.162e-06/0.02575, allocations: 0 / 0.8251 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of Templates: time 0.005847/0.03159, allocations: 3.054 MB / 0.8281 GB, free: 0.5 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.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.5737347193062305]