Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 186.3 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.857/2.857, allocations: 476.7 MB / 0.7646 GB, free: 9.859 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 63.89 kB / 1.11 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9611/0.9634, allocations: 168.8 MB / 1.274 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.004291/0.9677, allocations: 1.998 MB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.9694, allocations: 0.7052 MB / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.9695, allocations: 4 kB / 1.277 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.9697, allocations: 19.73 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.9698, allocations: 19.8 kB / 1.277 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.9703, allocations: 91.72 kB / 1.277 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.9705, allocations: 151.6 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.9708, allocations: 67.53 kB / 1.277 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.9709, allocations: 67.7 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.971, allocations: 71.69 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.9711, allocations: 19.94 kB / 1.277 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.9713, allocations: 63.95 kB / 1.278 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.9714, allocations: 71.75 kB / 1.278 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.9715, allocations: 103.3 kB / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004897/0.972, allocations: 257.5 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.972, allocations: 3.938 kB / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.264e-06/0.972, allocations: 4 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.972, allocations: 0 / 1.278 GB, free: 0.5 MB / 0.9669 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.001164/0.9732, allocations: 481 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/0.9733, allocations: 8.078 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/0.9751, allocations: 424 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004952/0.9756, allocations: 253.7 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.9757, allocations: 72.19 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.9758, allocations: 12.38 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009784/0.9767, allocations: 388.9 kB / 1.28 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.9767, allocations: 0 / 1.28 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.9768, allocations: 4 kB / 1.28 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.9768, allocations: 4 kB / 1.28 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.9781, allocations: 0.5468 MB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.9801, allocations: 0.9614 MB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007659/0.9808, allocations: 290.2 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000672/0.9815, allocations: 272.6 kB / 1.282 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.9815, allocations: 0 / 1.282 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.9815, allocations: 34.56 kB / 1.282 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.9815, allocations: 0 / 1.282 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.002158/0.9837, allocations: 0.79 MB / 1.282 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.9838, allocations: 51.41 kB / 1.282 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.9841, allocations: 297.9 kB / 1.283 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.511e-05/0.9842, allocations: 33.64 kB / 1.283 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.9843, allocations: 152.2 kB / 1.283 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.9843, allocations: 31.69 kB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.9844, allocations: 33.67 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.9846, allocations: 342.8 kB / 1.283 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006621/0.9853, allocations: 255.8 kB / 1.283 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006458/0.9859, allocations: 263.7 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.9871, allocations: 444.4 kB / 1.284 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.9871, allocations: 4 kB / 1.284 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0014/0.9885, allocations: 0.5245 MB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.9885, allocations: 4 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.9885, allocations: 0.5469 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.9885, allocations: 4 kB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.989, allocations: 99.77 kB / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.989, allocations: 0 / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.9893, allocations: 75.83 kB / 1.285 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.9894, allocations: 11.97 kB / 1.285 GB, free: 9.23 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001712/0.9895, allocations: 141.8 kB / 1.285 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/0.9896, allocations: 19.86 kB / 1.285 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.043e-05/0.9896, allocations: 25.7 kB / 1.285 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.9896, allocations: 0 / 1.285 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9897, allocations: 0 / 1.285 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.9897, allocations: 4 kB / 1.285 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.9902, allocations: 415 kB / 1.285 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9902, allocations: 0 / 1.285 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/0.9906, allocations: 87.83 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.9906, allocations: 0 / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.9906, allocations: 15.97 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.9906, allocations: 4 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.9907, allocations: 3.938 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.9921, allocations: 0.6356 MB / 1.286 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.9922, allocations: 23.84 kB / 1.286 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.9922, allocations: 0 / 1.286 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.9926, allocations: 71.88 kB / 1.286 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.9926, allocations: 15.97 kB / 1.286 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.9927, allocations: 7.984 kB / 1.286 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002433/0.9929, allocations: 217.2 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9929, allocations: 0 / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000321/0.9932, allocations: 43.89 kB / 1.287 GB, free: 7.449 MB / 0.9825 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.000174/0.9934, allocations: 111.2 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001435/0.9948, allocations: 0.519 MB / 1.287 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.9948, allocations: 0 / 1.287 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007069/0.9955, allocations: 275.7 kB / 1.287 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.9959, allocations: 20.38 kB / 1.287 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.9973, allocations: 0.6027 MB / 1.288 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.9977, allocations: 0.7474 MB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002091/0.9979, allocations: 61.42 kB / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.998, allocations: 31.39 kB / 1.289 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.998, allocations: 0 / 1.289 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of Templates: time 0.007372/1.005, allocations: 2.889 MB / 1.292 GB, free: 2.129 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.34843104146421]