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.00102/0.00102, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001247/0.001247, allocations: 161.4 kB / 24.16 MB, free: 332 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.9637/0.9637, allocations: 177.1 MB / 204.6 MB, free: 5.5 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.908/1.908, 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.343e-06/1.343e-06, allocations: 0 / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.476e-05, allocations: 5.406 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002752/0.002766, allocations: 2.027 MB / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.003838, allocations: 0.7456 MB / 0.7627 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.162e-05/0.003929, allocations: 0 / 0.7627 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.004052, allocations: 25.31 kB / 0.7628 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.804e-05/0.004131, allocations: 27.03 kB / 0.7628 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.004497, allocations: 101.7 kB / 0.7629 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.004668, allocations: 152.2 kB / 0.763 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.004814, allocations: 66.31 kB / 0.7631 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.00499, allocations: 92.92 kB / 0.7632 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.776e-05/0.005067, allocations: 51.8 kB / 0.7632 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.005096, allocations: 16 kB / 0.7632 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.005221, allocations: 60.83 kB / 0.7633 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.231e-05/0.005303, allocations: 71.75 kB / 0.7634 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.00535, allocations: 60.95 kB / 0.7634 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.005583, allocations: 191.2 kB / 0.7636 GB, free: 3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.005585, allocations: 0 / 0.7636 GB, free: 3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.91e-07/0.005586, allocations: 1.156 kB / 0.7636 GB, free: 3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.005593, allocations: 3.984 kB / 0.7636 GB, free: 2.996 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.0005331/0.006126, allocations: 456.8 kB / 0.764 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.006156, allocations: 8.031 kB / 0.7641 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005862/0.006742, allocations: 355.4 kB / 0.7644 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.006957, allocations: 213.5 kB / 0.7646 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.998e-05/0.007047, allocations: 139.6 kB / 0.7647 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.007069, allocations: 9.188 kB / 0.7647 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.007373, allocations: 277.9 kB / 0.765 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.007382, allocations: 0.8438 kB / 0.765 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.007398, allocations: 16.06 kB / 0.765 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.007404, allocations: 1.906 kB / 0.765 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.007594, allocations: 200.3 kB / 0.7652 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000752/0.008346, allocations: 0.7009 MB / 0.7659 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.008539, allocations: 168.8 kB / 0.7661 GB, free: 416 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.008662, allocations: 109.9 kB / 0.7662 GB, free: 304 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.008674, allocations: 0 / 0.7662 GB, free: 304 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.008696, allocations: 38.5 kB / 0.7662 GB, free: 256 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.008697, allocations: 0.9375 kB / 0.7662 GB, free: 256 kB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003578/0.009055, allocations: 294.1 kB / 0.7665 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.009084, allocations: 59.39 kB / 0.7665 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.009219, allocations: 231.7 kB / 0.7668 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.009237, allocations: 33.7 kB / 0.7668 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.009293, allocations: 132.2 kB / 0.7669 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.009317, allocations: 31.77 kB / 0.7669 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.009384, allocations: 61.64 kB / 0.767 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.984e-05/0.009473, allocations: 338.8 kB / 0.7673 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.009577, allocations: 118.9 kB / 0.7674 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.009685, allocations: 133.6 kB / 0.7676 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.00986, allocations: 211.1 kB / 0.7678 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.009862, allocations: 0 / 0.7678 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002227/0.01008, allocations: 262.8 kB / 0.768 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.01009, allocations: 4.656 kB / 0.768 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.0101, allocations: 3.938 kB / 0.768 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.01011, allocations: 4.656 kB / 0.768 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/0.01053, allocations: 117.1 kB / 0.7681 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.01053, allocations: 4.594 kB / 0.7682 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.475e-05/0.01063, allocations: 70.56 kB / 0.7682 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.772e-05/0.01071, allocations: 132.7 kB / 0.7683 GB, free: 14 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.325e-05/0.01079, allocations: 117.3 kB / 0.7685 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.01082, allocations: 16.45 kB / 0.7685 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.01085, allocations: 26.36 kB / 0.7685 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01085, allocations: 4 kB / 0.7685 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.01085, allocations: 0.5625 kB / 0.7685 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.01085, allocations: 1.531 kB / 0.7685 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.01107, allocations: 273.6 kB / 0.7688 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.01108, allocations: 0 / 0.7688 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.0112, allocations: 114 kB / 0.7689 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.0112, allocations: 0 / 0.7689 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.01122, allocations: 23.95 kB / 0.7689 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-07/0.01122, allocations: 0 / 0.7689 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01122, allocations: 10.31 kB / 0.7689 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.01148, allocations: 359.2 kB / 0.7693 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.0115, allocations: 15.91 kB / 0.7693 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.01151, allocations: 5.562 kB / 0.7693 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.01162, allocations: 66.09 kB / 0.7693 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.01165, allocations: 15.92 kB / 0.7693 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.392e-05/0.01174, allocations: 134.5 kB / 0.7695 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.967e-05/0.0118, allocations: 82.77 kB / 0.7696 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.0118, allocations: 0 / 0.7696 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001647/0.01196, allocations: 39.89 kB / 0.7696 GB, free: 12.68 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.0001031/0.01206, allocations: 92.41 kB / 0.7697 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000249/0.01231, allocations: 287.3 kB / 0.77 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.01232, allocations: 4 kB / 0.77 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.01244, allocations: 157.7 kB / 0.7701 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.01259, allocations: 32.47 kB / 0.7701 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005839/0.01317, allocations: 471.1 kB / 0.7706 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.5e-05/0.01322, allocations: 87.81 kB / 0.7707 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002991/0.01352, allocations: 380.4 kB / 0.771 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.01365, allocations: 112.7 kB / 0.7711 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.01365, allocations: 0 / 0.7711 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of Templates: time 0.004559/0.01821, allocations: 3.429 MB / 0.7745 GB, free: 7.75 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 -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.908728445880115]