Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001142/0.001142, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00149/0.002632, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000783/0.000783, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001044/0.001827, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9318/0.9318, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08987/1.022, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.417/2.417, allocations: 446.7 MB / 0.6745 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2521/2.669, allocations: 145.9 MB / 0.817 GB, free: 4.203 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.109e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002545/0.002566, allocations: 2.056 MB / 0.8203 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009515/0.003518, allocations: 0.7631 MB / 0.8211 GB, free: 36 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.003618, allocations: 0 / 0.8211 GB, free: 36 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 8.722e-05/0.003705, allocations: 23.73 kB / 0.8211 GB, free: 12 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 9.23e-05/0.003797, allocations: 23.78 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.004098, allocations: 95.7 kB / 0.8212 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.004272, allocations: 147.6 kB / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.004427, allocations: 70.25 kB / 0.8214 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.004648, allocations: 108.5 kB / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.681e-05/0.004724, allocations: 51.8 kB / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.00475, allocations: 16 kB / 0.8216 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.004907, allocations: 71.81 kB / 0.8216 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.266e-05/0.00498, allocations: 63.78 kB / 0.8217 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.005023, allocations: 39.88 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.005244, allocations: 171.2 kB / 0.8219 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.819e-05/0.005262, allocations: 0 / 0.8219 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.263e-06/0.005263, allocations: 0 / 0.8219 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.005281, allocations: 0 / 0.8219 GB, free: 15.16 MB / 0.8073 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.0005945/0.005875, allocations: 0.4915 MB / 0.8224 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.005908, allocations: 8.625 kB / 0.8224 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006621/0.00657, allocations: 425.4 kB / 0.8228 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.006829, allocations: 224.7 kB / 0.823 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.774e-05/0.006927, allocations: 135.6 kB / 0.8231 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.006949, allocations: 12.38 kB / 0.8232 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.007297, allocations: 288 kB / 0.8234 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.007306, allocations: 4 kB / 0.8234 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.007321, allocations: 4 kB / 0.8234 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.007328, allocations: 4 kB / 0.8234 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.007514, allocations: 194 kB / 0.8236 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007689/0.008283, allocations: 0.6994 MB / 0.8243 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.0085, allocations: 174.4 kB / 0.8245 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.767e-05/0.008588, allocations: 104.8 kB / 0.8246 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.008602, allocations: 3.938 kB / 0.8246 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.008624, allocations: 42.56 kB / 0.8246 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.008625, allocations: 0 / 0.8246 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0003283/0.008954, allocations: 293.4 kB / 0.8249 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.008983, allocations: 59.34 kB / 0.825 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.009122, allocations: 233.2 kB / 0.8252 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.009141, allocations: 29.7 kB / 0.8252 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.009196, allocations: 128.3 kB / 0.8253 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.009221, allocations: 27.83 kB / 0.8254 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.786e-05/0.009289, allocations: 65.62 kB / 0.8254 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.96e-05/0.009369, allocations: 334.8 kB / 0.8257 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.009479, allocations: 115.9 kB / 0.8259 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.009593, allocations: 141.5 kB / 0.826 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.009769, allocations: 209.9 kB / 0.8262 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.009772, allocations: 4 kB / 0.8262 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002366/0.01001, allocations: 273.3 kB / 0.8265 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.01002, allocations: 4 kB / 0.8265 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01003, allocations: 0 / 0.8265 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.01004, allocations: 0 / 0.8265 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.01027, allocations: 163.7 kB / 0.8266 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.01027, allocations: 4 kB / 0.8266 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.303e-05/0.01036, allocations: 63.84 kB / 0.8267 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.9e-05/0.01046, allocations: 139.7 kB / 0.8268 GB, free: 9.934 MB / 0.8073 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.259e-05/0.01054, allocations: 120.7 kB / 0.8269 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.01058, allocations: 15.92 kB / 0.8269 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.01061, allocations: 25.77 kB / 0.827 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.01061, allocations: 0 / 0.827 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.01061, allocations: 0 / 0.827 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.01061, allocations: 0 / 0.827 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.01085, allocations: 257.7 kB / 0.8272 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.01085, allocations: 7.984 kB / 0.8272 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.01104, allocations: 151.7 kB / 0.8274 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.241e-05/0.01106, allocations: 23.84 kB / 0.8274 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.01106, allocations: 3.938 kB / 0.8274 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.01108, allocations: 23.95 kB / 0.8274 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01108, allocations: 0 / 0.8274 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.01108, allocations: 3.984 kB / 0.8274 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.01137, allocations: 363.3 kB / 0.8278 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.01139, allocations: 7.922 kB / 0.8278 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.0115, allocations: 63.86 kB / 0.8278 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.01154, allocations: 11.92 kB / 0.8278 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.821e-05/0.01163, allocations: 143.7 kB / 0.828 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.946e-05/0.01169, allocations: 78.78 kB / 0.8281 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01169, allocations: 4 kB / 0.8281 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000174/0.01186, allocations: 35.89 kB / 0.8281 GB, free: 8.57 MB / 0.8073 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.0001357/0.01199, allocations: 92.41 kB / 0.8282 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.01227, allocations: 280.5 kB / 0.8284 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.01228, allocations: 4 kB / 0.8285 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.01241, allocations: 152.6 kB / 0.8286 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.01259, allocations: 68.36 kB / 0.8287 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009443/0.01354, allocations: 480.2 kB / 0.8291 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.827e-05/0.01358, allocations: 83.81 kB / 0.8292 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003051/0.01389, allocations: 380.8 kB / 0.8296 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.01403, allocations: 107.3 kB / 0.8297 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of SimCode: time 1.132e-06/0.01403, allocations: 0 / 0.8297 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of Templates: time 0.01232/0.02635, allocations: 3.458 MB / 0.833 GB, free: 3.48 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.ref.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.345740013755858]