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.001334/0.001334, 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.00175/0.00175, allocations: 185 kB / 24.09 MB, free: 416 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.9672/0.9672, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.85/1.85, allocations: 377.9 MB / 0.624 GB, free: 8.395 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.493e-06/1.493e-06, allocations: 0 / 0.812 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.763e-05, allocations: 6.312 kB / 0.812 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003298/0.003326, allocations: 2.007 MB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0009892/0.004315, allocations: 0.7235 MB / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.26e-05/0.004407, allocations: 4 kB / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.004535, allocations: 20.39 kB / 0.8147 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.08e-05/0.004606, allocations: 28.66 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.004926, allocations: 104.9 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.005059, allocations: 147.6 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.005193, allocations: 64.98 kB / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.005344, allocations: 101.2 kB / 0.8152 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.005413, allocations: 47.8 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.005436, allocations: 19.94 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.005548, allocations: 63.94 kB / 0.8153 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.005615, allocations: 73.16 kB / 0.8153 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.005656, allocations: 47.84 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.005859, allocations: 195.2 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.005862, allocations: 3.938 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.102e-06/0.005863, allocations: 1.5 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.005868, allocations: 0 / 0.8156 GB, free: 13.75 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.0005013/0.006369, allocations: 0.5742 MB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.006407, allocations: 8.031 kB / 0.8162 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009387/0.007345, allocations: 0.4888 MB / 0.8166 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.007561, allocations: 235.6 kB / 0.8169 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.307e-05/0.007644, allocations: 139.6 kB / 0.817 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.007663, allocations: 12.38 kB / 0.817 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.007975, allocations: 281.1 kB / 0.8173 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.007983, allocations: 0.6875 kB / 0.8173 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.007999, allocations: 12.69 kB / 0.8173 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.008004, allocations: 4 kB / 0.8173 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.008184, allocations: 209.8 kB / 0.8175 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008102/0.008995, allocations: 0.8656 MB / 0.8183 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.009202, allocations: 188.2 kB / 0.8185 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.37e-05/0.009295, allocations: 119.6 kB / 0.8186 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.009313, allocations: 0.9375 kB / 0.8186 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.009332, allocations: 33.39 kB / 0.8187 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.009334, allocations: 5.344 kB / 0.8187 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000387/0.009721, allocations: 381.3 kB / 0.819 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.009744, allocations: 51.41 kB / 0.8191 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.009903, allocations: 301.1 kB / 0.8194 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.009921, allocations: 29.7 kB / 0.8194 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.989e-05/0.01001, allocations: 216.9 kB / 0.8196 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.01003, allocations: 19.8 kB / 0.8196 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-05/0.0101, allocations: 83.27 kB / 0.8197 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.01021, allocations: 0.5001 MB / 0.8202 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.01032, allocations: 131.8 kB / 0.8203 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.01043, allocations: 146.9 kB / 0.8204 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.01062, allocations: 227.6 kB / 0.8207 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01062, allocations: 0 / 0.8207 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002925/0.01091, allocations: 343.1 kB / 0.821 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.01092, allocations: 11.94 kB / 0.821 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.01093, allocations: 1.125 kB / 0.821 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.01094, allocations: 0 / 0.821 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.01111, allocations: 120.9 kB / 0.8211 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.01111, allocations: 0.9062 kB / 0.8211 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.6e-05/0.0112, allocations: 65.53 kB / 0.8212 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.576e-05/0.0113, allocations: 141.7 kB / 0.8213 GB, free: 7.68 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 8.313e-05/0.01138, allocations: 157.3 kB / 0.8215 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.01142, allocations: 23.86 kB / 0.8215 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.01145, allocations: 26.8 kB / 0.8215 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.01145, allocations: 4 kB / 0.8215 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.01145, allocations: 0 / 0.8215 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.01146, allocations: 0.6562 kB / 0.8215 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.01171, allocations: 316 kB / 0.8218 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01171, allocations: 1.406 kB / 0.8218 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.01185, allocations: 127.3 kB / 0.8219 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.01185, allocations: 0 / 0.8219 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.01187, allocations: 23.95 kB / 0.822 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.01187, allocations: 0 / 0.822 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01187, allocations: 3.938 kB / 0.822 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.01222, allocations: 488.1 kB / 0.8224 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.01224, allocations: 19.84 kB / 0.8225 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.01225, allocations: 1.656 kB / 0.8225 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.01237, allocations: 67.95 kB / 0.8225 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.0124, allocations: 7.922 kB / 0.8225 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.505e-05/0.01248, allocations: 143.7 kB / 0.8227 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.819e-05/0.01257, allocations: 209.1 kB / 0.8229 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01257, allocations: 0 / 0.8229 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001877/0.01276, allocations: 39.89 kB / 0.8229 GB, free: 6.008 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.0001343/0.01289, allocations: 107.2 kB / 0.823 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002764/0.01317, allocations: 307.3 kB / 0.8233 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01317, allocations: 0 / 0.8233 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.0135, allocations: 167.5 kB / 0.8235 GB, free: 5.422 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.0137, allocations: 48.52 kB / 0.8235 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006276/0.01433, allocations: 482.9 kB / 0.824 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.545e-05/0.01438, allocations: 79.81 kB / 0.824 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002893/0.01466, allocations: 376.8 kB / 0.8244 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.0148, allocations: 130.1 kB / 0.8245 GB, free: 4.285 MB / 0.7761 GB Notification: Performance of SimCode: time 1.153e-06/0.0148, allocations: 0 / 0.8245 GB, free: 4.285 MB / 0.7761 GB Notification: Performance of Templates: time 0.004927/0.01973, allocations: 3.503 MB / 0.8279 GB, free: 0.8125 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: 4.941199983004481]