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.001392/0.001392, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001082/0.001082, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9912/0.9912, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.829/1.829, allocations: 377.9 MB / 0.6236 GB, free: 8.543 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.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.203e-06/1.203e-06, allocations: 0 / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.926e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002389/0.002408, allocations: 2.029 MB / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.003464, allocations: 0.7356 MB / 0.8143 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.855e-05/0.003552, allocations: 0 / 0.8143 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.003681, allocations: 23.78 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.359e-05/0.003764, allocations: 29.22 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.004142, allocations: 103.7 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.004294, allocations: 147.5 kB / 0.8146 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.004428, allocations: 70.31 kB / 0.8146 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.004588, allocations: 95.72 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.004656, allocations: 47.81 kB / 0.8148 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.004679, allocations: 17.75 kB / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.004805, allocations: 59.94 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.374e-05/0.004879, allocations: 71.75 kB / 0.8149 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.004927, allocations: 55.83 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.005146, allocations: 195.2 kB / 0.8151 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.005148, allocations: 1.094 kB / 0.8151 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005149, allocations: 0 / 0.8151 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.005154, allocations: 0 / 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.0005486/0.005702, allocations: 0.5754 MB / 0.8157 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.005737, allocations: 8.031 kB / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007772/0.006514, allocations: 493.3 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.006788, allocations: 256.5 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.006895, allocations: 140.8 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.006915, allocations: 12.38 kB / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.007335, allocations: 340.7 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.007343, allocations: 192 / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.007363, allocations: 12.12 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.00737, allocations: 4 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.007673, allocations: 328.2 kB / 0.8172 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009404/0.008614, allocations: 0.9183 MB / 0.8181 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.008965, allocations: 245.3 kB / 0.8184 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.009115, allocations: 177.3 kB / 0.8185 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.009128, allocations: 0 / 0.8185 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.009146, allocations: 37.33 kB / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.011e-06/0.009147, allocations: 0 / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0005457/0.009693, allocations: 0.5102 MB / 0.8191 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.009719, allocations: 51.41 kB / 0.8191 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.009919, allocations: 312.3 kB / 0.8194 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.009939, allocations: 26.8 kB / 0.8194 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.953e-05/0.01004, allocations: 214.6 kB / 0.8196 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.01006, allocations: 31.88 kB / 0.8197 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/0.01014, allocations: 75.89 kB / 0.8197 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.01027, allocations: 0.5079 MB / 0.8202 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.01043, allocations: 177.8 kB / 0.8204 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.01061, allocations: 212.5 kB / 0.8206 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.01088, allocations: 300.2 kB / 0.8209 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01088, allocations: 1.125 kB / 0.8209 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003893/0.01127, allocations: 434.1 kB / 0.8213 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.01129, allocations: 4.656 kB / 0.8213 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.01129, allocations: 3.188 kB / 0.8213 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.0113, allocations: 4 kB / 0.8213 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.01149, allocations: 119.8 kB / 0.8214 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.0115, allocations: 0 / 0.8214 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.01161, allocations: 68.88 kB / 0.8215 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.817e-05/0.0117, allocations: 137.7 kB / 0.8216 GB, free: 7.176 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 9.941e-05/0.0118, allocations: 164.5 kB / 0.8218 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.01185, allocations: 31.78 kB / 0.8218 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.01188, allocations: 17.78 kB / 0.8218 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01188, allocations: 0 / 0.8218 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01188, allocations: 0 / 0.8218 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01189, allocations: 3.984 kB / 0.8218 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.01217, allocations: 359.4 kB / 0.8222 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.01217, allocations: 8 kB / 0.8222 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.0123, allocations: 115.8 kB / 0.8223 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01231, allocations: 0 / 0.8223 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.01233, allocations: 31.89 kB / 0.8223 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.01233, allocations: 0 / 0.8223 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01233, allocations: 0 / 0.8223 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004351/0.01277, allocations: 0.5697 MB / 0.8229 GB, free: 5.824 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.451e-05/0.01279, allocations: 23.84 kB / 0.8229 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.01281, allocations: 3.938 kB / 0.8229 GB, free: 5.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.01292, allocations: 63.86 kB / 0.823 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.01296, allocations: 7.984 kB / 0.823 GB, free: 5.727 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.073e-05/0.01305, allocations: 143.7 kB / 0.8231 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001128/0.01317, allocations: 217 kB / 0.8233 GB, free: 5.379 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01317, allocations: 0 / 0.8233 GB, free: 5.379 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002083/0.01338, allocations: 43.89 kB / 0.8234 GB, free: 5.336 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.0001202/0.0135, allocations: 107.2 kB / 0.8235 GB, free: 5.223 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003901/0.01389, allocations: 415.3 kB / 0.8239 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01389, allocations: 4 kB / 0.8239 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.01406, allocations: 227.4 kB / 0.8241 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.01427, allocations: 40.41 kB / 0.8241 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007411/0.01501, allocations: 0.5224 MB / 0.8246 GB, free: 3.996 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.98e-05/0.01506, allocations: 87.81 kB / 0.8247 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002933/0.01535, allocations: 376.8 kB / 0.8251 GB, free: 3.523 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.968e-05/0.01545, allocations: 60.42 kB / 0.8251 GB, free: 3.465 MB / 0.7761 GB Notification: Performance of SimCode: time 6.32e-07/0.01545, allocations: 4 kB / 0.8251 GB, free: 3.461 MB / 0.7761 GB Notification: Performance of Templates: time 0.004928/0.02038, allocations: 3.373 MB / 0.8284 GB, free: 124 kB / 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.128427137620747]