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.0009838/0.0009838, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009552/0.0009552, allocations: 161 kB / 24.17 MB, free: 328 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.9725/0.9725, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.976/1.976, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.122e-06/1.122e-06, allocations: 0 / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.386e-05/1.498e-05, allocations: 5.406 kB / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002383/0.002398, allocations: 2.063 MB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.003453, allocations: 0.7449 MB / 0.7628 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.349e-05/0.003546, allocations: 5.969 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.003676, allocations: 20.94 kB / 0.7629 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.939e-05/0.003756, allocations: 25.31 kB / 0.7629 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.004121, allocations: 101.5 kB / 0.763 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.004279, allocations: 155.5 kB / 0.7631 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.00441, allocations: 63.08 kB / 0.7632 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.004562, allocations: 88.48 kB / 0.7633 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.133e-05/0.004633, allocations: 55.8 kB / 0.7633 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.004653, allocations: 14.19 kB / 0.7633 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.004788, allocations: 71.86 kB / 0.7634 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.556e-05/0.004853, allocations: 71.75 kB / 0.7635 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.004894, allocations: 51.8 kB / 0.7635 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.005094, allocations: 195.2 kB / 0.7637 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.005096, allocations: 0 / 0.7637 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.51e-07/0.005096, allocations: 1.469 kB / 0.7637 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.005099, allocations: 0 / 0.7637 GB, free: 2.891 MB / 0.7136 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.0004405/0.00554, allocations: 452.9 kB / 0.7641 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.00557, allocations: 8.031 kB / 0.7641 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006174/0.006187, allocations: 363.4 kB / 0.7645 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.00644, allocations: 220.7 kB / 0.7647 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.594e-05/0.006526, allocations: 136.8 kB / 0.7648 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.006545, allocations: 12.38 kB / 0.7648 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.00688, allocations: 284.7 kB / 0.7651 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.006888, allocations: 192 / 0.7651 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.006904, allocations: 8.125 kB / 0.7651 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.00691, allocations: 4 kB / 0.7651 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.007119, allocations: 196.3 kB / 0.7653 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007807/0.0079, allocations: 0.7094 MB / 0.766 GB, free: 468 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.008103, allocations: 160.3 kB / 0.7662 GB, free: 300 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.008261, allocations: 108.7 kB / 0.7663 GB, free: 188 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.008273, allocations: 4.875 kB / 0.7663 GB, free: 184 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.008292, allocations: 34.72 kB / 0.7663 GB, free: 140 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.008293, allocations: 2.438 kB / 0.7663 GB, free: 140 kB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003376/0.008631, allocations: 301.5 kB / 0.7666 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.008654, allocations: 51.41 kB / 0.7666 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.008789, allocations: 232.9 kB / 0.7669 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.008804, allocations: 25.7 kB / 0.7669 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.008862, allocations: 140.2 kB / 0.767 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.008882, allocations: 26.52 kB / 0.767 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-05/0.008952, allocations: 69.61 kB / 0.7671 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.213e-05/0.009024, allocations: 334.7 kB / 0.7674 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.009128, allocations: 115.9 kB / 0.7675 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.009234, allocations: 131.2 kB / 0.7677 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.009417, allocations: 218.7 kB / 0.7679 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.009419, allocations: 0 / 0.7679 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003961/0.009815, allocations: 260.1 kB / 0.7681 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.009828, allocations: 4 kB / 0.7681 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.009834, allocations: 8.766 kB / 0.7681 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.009846, allocations: 0 / 0.7681 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.01003, allocations: 138.2 kB / 0.7683 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.01003, allocations: 7.984 kB / 0.7683 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.01013, allocations: 69.16 kB / 0.7683 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-05/0.01023, allocations: 133.8 kB / 0.7685 GB, free: 13.86 MB / 0.7292 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 7.456e-05/0.0103, allocations: 117.5 kB / 0.7686 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.01034, allocations: 15.98 kB / 0.7686 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.01036, allocations: 22.73 kB / 0.7686 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01036, allocations: 7.938 kB / 0.7686 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01037, allocations: 0 / 0.7686 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.01037, allocations: 0.9062 kB / 0.7686 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.0106, allocations: 269.6 kB / 0.7689 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.0106, allocations: 7.078 kB / 0.7689 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.01075, allocations: 135.7 kB / 0.769 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01076, allocations: 0 / 0.769 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.01077, allocations: 19.97 kB / 0.769 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01077, allocations: 0 / 0.769 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01078, allocations: 7.594 kB / 0.769 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.01104, allocations: 355.3 kB / 0.7694 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.01106, allocations: 23.88 kB / 0.7694 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.01108, allocations: 4 kB / 0.7694 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.01119, allocations: 64.66 kB / 0.7695 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.01122, allocations: 13.53 kB / 0.7695 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-05/0.01131, allocations: 136.7 kB / 0.7696 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.444e-05/0.01138, allocations: 82.77 kB / 0.7697 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01138, allocations: 1.062 kB / 0.7697 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001932/0.01157, allocations: 39.89 kB / 0.7697 GB, free: 12.53 MB / 0.7292 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.0001015/0.01167, allocations: 85.39 kB / 0.7698 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002658/0.01194, allocations: 286.1 kB / 0.7701 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.01194, allocations: 4.531 kB / 0.7701 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.01207, allocations: 162.6 kB / 0.7702 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.01223, allocations: 36.45 kB / 0.7703 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005954/0.01282, allocations: 470 kB / 0.7707 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.736e-05/0.01287, allocations: 88.7 kB / 0.7708 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003075/0.01318, allocations: 372.6 kB / 0.7712 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.01332, allocations: 111.3 kB / 0.7713 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/0.01332, allocations: 5.219 kB / 0.7713 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of Templates: time 0.00493/0.01825, allocations: 3.428 MB / 0.7746 GB, free: 7.586 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.015442118048668]