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.001371/0.001371, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001723/0.001723, allocations: 201.9 kB / 22.17 MB, free: 5.211 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.572/1.572, allocations: 225.6 MB / 250.9 MB, free: 13.24 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.807/2.807, allocations: 476.7 MB / 0.7645 GB, free: 10.05 MB / 0.6231 GB " [Timeout remaining time 176] 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.002177/0.002177, allocations: 63.89 kB / 1.109 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9259/0.9281, allocations: 168.7 MB / 1.274 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.004138/0.9322, allocations: 1.992 MB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.9339, allocations: 0.713 MB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.934, allocations: 0 / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.9342, allocations: 23.73 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.9343, allocations: 23.8 kB / 1.277 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.9348, allocations: 87.78 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000266/0.935, allocations: 147.6 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.9352, allocations: 67.27 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.9354, allocations: 59.72 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.9355, allocations: 71.62 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.368e-05/0.9356, allocations: 19.98 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.9357, allocations: 63.95 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.9359, allocations: 67.77 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.936, allocations: 99.34 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.9364, allocations: 270.8 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9364, allocations: 0 / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.877e-06/0.9364, allocations: 4 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.9364, allocations: 0 / 1.278 GB, free: 0.6836 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.001076/0.9375, allocations: 0.5411 MB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.9375, allocations: 8.031 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/0.9394, allocations: 428.1 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.9401, allocations: 315.9 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.991e-05/0.9402, allocations: 68.19 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.9402, allocations: 12.38 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.9413, allocations: 387.3 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.9414, allocations: 0 / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.9414, allocations: 7.938 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.9414, allocations: 8 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.9427, allocations: 0.539 MB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.9447, allocations: 1.002 MB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007575/0.9454, allocations: 290.3 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006395/0.9461, allocations: 268.6 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.9461, allocations: 0 / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.9461, allocations: 46.48 kB / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.9461, allocations: 0 / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.002062/0.9482, allocations: 0.7781 MB / 1.282 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.9482, allocations: 51.41 kB / 1.282 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.9486, allocations: 298.7 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.9487, allocations: 25.7 kB / 1.283 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.9488, allocations: 164.3 kB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.9488, allocations: 27.75 kB / 1.283 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.949, allocations: 41.67 kB / 1.283 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.9491, allocations: 334.8 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006505/0.9498, allocations: 259.8 kB / 1.283 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007095/0.9505, allocations: 255.8 kB / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.9518, allocations: 452.3 kB / 1.284 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.9518, allocations: 0 / 1.284 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001451/0.9532, allocations: 0.5245 MB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.9532, allocations: 12 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.9532, allocations: 0 / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.9533, allocations: 0 / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.9537, allocations: 87.83 kB / 1.285 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.912e-06/0.9537, allocations: 0 / 1.285 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.954, allocations: 75.83 kB / 1.285 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/0.9541, allocations: 11.97 kB / 1.285 GB, free: 9.211 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.0001885/0.9543, allocations: 149.7 kB / 1.285 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.915e-05/0.9543, allocations: 19.86 kB / 1.285 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.335e-05/0.9544, allocations: 25.7 kB / 1.285 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.9544, allocations: 4 kB / 1.285 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.9544, allocations: 0 / 1.285 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.9544, allocations: 0 / 1.285 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.955, allocations: 440.2 kB / 1.285 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.955, allocations: 0 / 1.285 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.9554, allocations: 91.83 kB / 1.285 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.9554, allocations: 0 / 1.285 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.9554, allocations: 11.97 kB / 1.285 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.9554, allocations: 0 / 1.285 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9554, allocations: 0 / 1.285 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.9571, allocations: 0.6355 MB / 1.286 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.9572, allocations: 104.9 kB / 1.286 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.9572, allocations: 0 / 1.286 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.9576, allocations: 75.88 kB / 1.286 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.9577, allocations: 7.984 kB / 1.286 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.9577, allocations: 11.92 kB / 1.286 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003608/0.958, allocations: 217.9 kB / 1.286 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.958, allocations: 4 kB / 1.286 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003292/0.9584, allocations: 43.89 kB / 1.287 GB, free: 7.293 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.0002085/0.9586, allocations: 107.8 kB / 1.287 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001363/0.9599, allocations: 0.5274 MB / 1.287 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9599, allocations: 0 / 1.287 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007293/0.9607, allocations: 275.7 kB / 1.287 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.961, allocations: 18.38 kB / 1.287 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.9624, allocations: 0.5986 MB / 1.288 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.9629, allocations: 0.7435 MB / 1.289 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001894/0.9631, allocations: 65.41 kB / 1.289 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.9632, allocations: 31.39 kB / 1.289 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of SimCode: time 9.52e-07/0.9632, allocations: 0 / 1.289 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of Templates: time 0.00809/0.9713, allocations: 2.885 MB / 1.292 GB, free: 1.992 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 cvode -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: 9.207734973169863]