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.00173/0.00173, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002024/0.002024, allocations: 193.9 kB / 22.17 MB, free: 5.652 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.444/1.444, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.745/2.745, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.002005/0.002005, allocations: 63.89 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7253/0.7273, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003537/0.7308, allocations: 1.992 MB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.7322, allocations: 0.7052 MB / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.571e-05/0.7322, allocations: 7.938 kB / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.7324, allocations: 15.8 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.962e-05/0.7325, allocations: 27.73 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.7328, allocations: 79.84 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.733, allocations: 155.6 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.7332, allocations: 67.28 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.7333, allocations: 63.7 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.7334, allocations: 71.62 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.7334, allocations: 12 kB / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.7336, allocations: 63.95 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.7337, allocations: 71.77 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.784e-05/0.7338, allocations: 95.39 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.7341, allocations: 266.8 kB / 1.278 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.7342, allocations: 0 / 1.278 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7342, allocations: 4 kB / 1.278 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.7342, allocations: 0 / 1.278 GB, free: 0.8477 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.0008736/0.735, allocations: 0.5449 MB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.7351, allocations: 8.031 kB / 1.278 GB, free: 252 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.7369, allocations: 428 kB / 1.279 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004952/0.7374, allocations: 315.9 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.013e-05/0.7375, allocations: 68.19 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.7375, allocations: 12.38 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009091/0.7384, allocations: 391.9 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.7384, allocations: 0 / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.7385, allocations: 8 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.7385, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.7398, allocations: 0.539 MB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.7417, allocations: 1.006 MB / 1.281 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007357/0.7424, allocations: 290.3 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006625/0.7431, allocations: 264.6 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.7431, allocations: 7.938 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.7431, allocations: 34.55 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.7431, allocations: 0 / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.002896/0.746, allocations: 0.7901 MB / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.7461, allocations: 55.41 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.7466, allocations: 294.7 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.7466, allocations: 29.69 kB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.7468, allocations: 156.2 kB / 1.283 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.641e-05/0.7468, allocations: 19.75 kB / 1.283 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.747, allocations: 41.67 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.7472, allocations: 338.8 kB / 1.283 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009656/0.7482, allocations: 259.8 kB / 1.283 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009452/0.7491, allocations: 259.8 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.7509, allocations: 444.4 kB / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7509, allocations: 0 / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.002094/0.753, allocations: 0.5362 MB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.753, allocations: 4 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.753, allocations: 3.938 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.753, allocations: 4 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000629/0.7536, allocations: 87.83 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.7537, allocations: 4 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/0.7542, allocations: 79.81 kB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.7542, allocations: 7.969 kB / 1.285 GB, free: 9.363 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.0002687/0.7545, allocations: 141.8 kB / 1.285 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.7546, allocations: 23.86 kB / 1.285 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.165e-05/0.7547, allocations: 29.7 kB / 1.285 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.7547, allocations: 0 / 1.285 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.7547, allocations: 0 / 1.285 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7547, allocations: 0 / 1.285 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008232/0.7555, allocations: 436.2 kB / 1.285 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.7555, allocations: 0 / 1.285 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006019/0.7561, allocations: 99.77 kB / 1.285 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.7561, allocations: 4 kB / 1.285 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.7561, allocations: 7.969 kB / 1.285 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.7561, allocations: 0 / 1.285 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.7562, allocations: 4 kB / 1.285 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.7583, allocations: 0.6278 MB / 1.286 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.7584, allocations: 104.9 kB / 1.286 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/0.7585, allocations: 4 kB / 1.286 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005145/0.759, allocations: 71.88 kB / 1.286 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.7591, allocations: 7.984 kB / 1.286 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.7591, allocations: 7.984 kB / 1.286 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003678/0.7595, allocations: 221.9 kB / 1.286 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7595, allocations: 0 / 1.286 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005573/0.76, allocations: 47.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.0002045/0.7603, allocations: 107.7 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.7622, allocations: 0.5229 MB / 1.287 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7622, allocations: 0 / 1.287 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009359/0.7631, allocations: 279.7 kB / 1.287 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/0.7636, allocations: 17.06 kB / 1.287 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.7655, allocations: 0.6063 MB / 1.288 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.766, allocations: 0.7474 MB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002368/0.7663, allocations: 53.42 kB / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.7664, allocations: 31.39 kB / 1.289 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.7664, allocations: 0 / 1.289 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of Templates: time 0.009111/0.7755, allocations: 2.893 MB / 1.292 GB, free: 2.148 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.4866379420273]