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.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.0009117/0.0009117, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0009068/0.0009068, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 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.8767/0.8767, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.621/1.621, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.643e-06/1.643e-06, allocations: 0 / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.76e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002326/0.002353, allocations: 1.968 MB / 0.9537 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.003873, allocations: 0.709 MB / 0.9544 GB, free: 280 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.004006, allocations: 0 / 0.9544 GB, free: 280 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.004164, allocations: 23.73 kB / 0.9544 GB, free: 256 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.47e-05/0.004248, allocations: 27.73 kB / 0.9544 GB, free: 228 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.004611, allocations: 107.7 kB / 0.9545 GB, free: 120 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.00478, allocations: 155.7 kB / 0.9547 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.004929, allocations: 61 kB / 0.9547 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.005096, allocations: 91.73 kB / 0.9548 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 7.457e-05/0.005171, allocations: 51.8 kB / 0.9548 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.005194, allocations: 12 kB / 0.9549 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.005329, allocations: 67.89 kB / 0.9549 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.143e-05/0.00541, allocations: 71.73 kB / 0.955 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.005459, allocations: 63.78 kB / 0.9551 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.005756, allocations: 275 kB / 0.9553 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.005761, allocations: 3.984 kB / 0.9553 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.683e-06/0.005763, allocations: 0 / 0.9553 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.005771, allocations: 4 kB / 0.9553 GB, free: 15.27 MB / 0.9167 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.0006821/0.006453, allocations: 485 kB / 0.9558 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.006496, allocations: 12.03 kB / 0.9558 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009883/0.007484, allocations: 0.6479 MB / 0.9564 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.007823, allocations: 268.9 kB / 0.9567 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.707e-05/0.00792, allocations: 139.6 kB / 0.9568 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.007944, allocations: 16.31 kB / 0.9568 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.008446, allocations: 451.5 kB / 0.9573 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.008455, allocations: 192 / 0.9573 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.008475, allocations: 8.125 kB / 0.9573 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.008481, allocations: 4 kB / 0.9573 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006779/0.009159, allocations: 0.644 MB / 0.9579 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.01022, allocations: 0.9898 MB / 0.9589 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.01061, allocations: 350.1 kB / 0.9592 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.01095, allocations: 320.5 kB / 0.9595 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.01097, allocations: 4 kB / 0.9595 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.01099, allocations: 46.5 kB / 0.9596 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.011, allocations: 0 / 0.9596 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.001127/0.01212, allocations: 0.969 MB / 0.9605 GB, free: 9.816 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.01216, allocations: 55.41 kB / 0.9606 GB, free: 9.75 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005279/0.01269, allocations: 293.9 kB / 0.9608 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.0127, allocations: 25.7 kB / 0.9609 GB, free: 9.422 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/0.01279, allocations: 151.9 kB / 0.961 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.01282, allocations: 27.94 kB / 0.961 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.602e-05/0.0129, allocations: 69.64 kB / 0.9611 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.31e-05/0.01299, allocations: 330.8 kB / 0.9614 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.01333, allocations: 315.6 kB / 0.9617 GB, free: 8.527 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.01364, allocations: 315.6 kB / 0.962 GB, free: 8.219 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005764/0.01422, allocations: 0.5318 MB / 0.9625 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01422, allocations: 3.938 kB / 0.9625 GB, free: 7.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007065/0.01493, allocations: 0.6725 MB / 0.9632 GB, free: 7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.01495, allocations: 6.5 kB / 0.9632 GB, free: 6.996 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01495, allocations: 0 / 0.9632 GB, free: 6.996 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.01497, allocations: 4 kB / 0.9632 GB, free: 6.992 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.01521, allocations: 167.7 kB / 0.9634 GB, free: 6.828 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.01521, allocations: 0 / 0.9634 GB, free: 6.828 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.01537, allocations: 115.8 kB / 0.9635 GB, free: 6.715 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.964e-05/0.01547, allocations: 147.7 kB / 0.9636 GB, free: 6.57 MB / 0.9167 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.0001148/0.01558, allocations: 137.8 kB / 0.9638 GB, free: 6.426 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.01561, allocations: 27.73 kB / 0.9638 GB, free: 6.398 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.01565, allocations: 25.77 kB / 0.9638 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01565, allocations: 4 kB / 0.9638 GB, free: 6.367 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01565, allocations: 0 / 0.9638 GB, free: 6.367 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.01566, allocations: 0 / 0.9638 GB, free: 6.367 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.01596, allocations: 360.1 kB / 0.9642 GB, free: 5.984 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01596, allocations: 0 / 0.9642 GB, free: 5.984 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.01615, allocations: 159.7 kB / 0.9643 GB, free: 5.828 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01616, allocations: 3.938 kB / 0.9643 GB, free: 5.824 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.01618, allocations: 31.89 kB / 0.9643 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01618, allocations: 4 kB / 0.9643 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01618, allocations: 0 / 0.9643 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008497/0.01703, allocations: 0.7525 MB / 0.9651 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.01707, allocations: 31.84 kB / 0.9651 GB, free: 4.988 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.01709, allocations: 7.938 kB / 0.9651 GB, free: 4.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.01727, allocations: 107.8 kB / 0.9652 GB, free: 4.875 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.01732, allocations: 11.98 kB / 0.9652 GB, free: 4.863 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-05/0.01741, allocations: 139.7 kB / 0.9654 GB, free: 4.727 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001398/0.01755, allocations: 213.2 kB / 0.9656 GB, free: 4.516 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01755, allocations: 0 / 0.9656 GB, free: 4.516 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002439/0.01779, allocations: 43.89 kB / 0.9656 GB, free: 4.473 MB / 0.9167 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.0001768/0.01797, allocations: 119 kB / 0.9657 GB, free: 4.348 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007321/0.0187, allocations: 0.6359 MB / 0.9663 GB, free: 3.711 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.0187, allocations: 4 kB / 0.9663 GB, free: 3.707 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.01903, allocations: 343.5 kB / 0.9667 GB, free: 3.371 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.01925, allocations: 12.5 kB / 0.9667 GB, free: 3.359 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008378/0.02009, allocations: 0.6802 MB / 0.9673 GB, free: 2.641 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.0202, allocations: 148.7 kB / 0.9675 GB, free: 2.48 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.02034, allocations: 84.39 kB / 0.9676 GB, free: 2.398 MB / 0.9167 GB Notification: Performance of SimCode: time 7.42e-07/0.02034, allocations: 0 / 0.9676 GB, free: 2.398 MB / 0.9167 GB Notification: Performance of Templates: time 0.004499/0.02484, allocations: 3.929 MB / 0.9714 GB, free: 14.46 MB / 0.9323 GB " [Timeout remaining time 300] 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: 7.634725882671773]