Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001812/0.001812, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.002251/0.002251, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.552/1.552, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.672/2.672, allocations: 443.5 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 67.89 kB / 1.059 GB, free: 364 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3382, allocations: 160.7 MB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003595/0.3418, allocations: 2.017 MB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.3432, allocations: 0.7061 MB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.916e-05/0.3433, allocations: 0 / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.3434, allocations: 23.73 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.82e-05/0.3435, allocations: 27.73 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.3438, allocations: 83.78 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.344, allocations: 143.7 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.3442, allocations: 64.55 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.3443, allocations: 63.72 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.3444, allocations: 75.61 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.3445, allocations: 16 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.3446, allocations: 67.89 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.919e-05/0.3447, allocations: 67.75 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.3448, allocations: 95.41 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.3452, allocations: 266.8 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3452, allocations: 0 / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3452, allocations: 4 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.3452, allocations: 0 / 1.22 GB, free: 11.6 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.0008629/0.3461, allocations: 0.5411 MB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3461, allocations: 8.031 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.3479, allocations: 428 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.3483, allocations: 316 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.633e-05/0.3484, allocations: 72.17 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.3485, allocations: 12.38 kB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008715/0.3493, allocations: 394.9 kB / 1.221 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3493, allocations: 0 / 1.221 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.3494, allocations: 4 kB / 1.221 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.3494, allocations: 4 kB / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.3507, allocations: 0.5385 MB / 1.222 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.3527, allocations: 1.001 MB / 1.223 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007049/0.3534, allocations: 290.3 kB / 1.223 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006215/0.354, allocations: 268.6 kB / 1.223 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.3541, allocations: 4 kB / 1.223 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.3541, allocations: 42.5 kB / 1.224 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.3541, allocations: 0 / 1.224 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.002026/0.3561, allocations: 0.7744 MB / 1.224 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.3562, allocations: 59.39 kB / 1.224 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/0.3566, allocations: 302.6 kB / 1.225 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.3566, allocations: 25.7 kB / 1.225 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.3568, allocations: 152.2 kB / 1.225 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.3568, allocations: 19.84 kB / 1.225 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.3569, allocations: 41.67 kB / 1.225 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.3571, allocations: 330.8 kB / 1.225 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006513/0.3578, allocations: 259.8 kB / 1.225 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006339/0.3584, allocations: 263.7 kB / 1.226 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.3596, allocations: 440.4 kB / 1.226 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3596, allocations: 0 / 1.226 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001286/0.3609, allocations: 0.5327 MB / 1.227 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3609, allocations: 10.03 kB / 1.227 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3609, allocations: 3.984 kB / 1.227 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3609, allocations: 0 / 1.227 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.3613, allocations: 91.83 kB / 1.227 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3613, allocations: 0 / 1.227 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.3616, allocations: 87.7 kB / 1.227 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.3617, allocations: 7.984 kB / 1.227 GB, free: 4.121 MB / 0.9669 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.0001667/0.3618, allocations: 145.8 kB / 1.227 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/0.3619, allocations: 23.8 kB / 1.227 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.3619, allocations: 25.7 kB / 1.227 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.3619, allocations: 4 kB / 1.227 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3619, allocations: 0 / 1.227 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3619, allocations: 4 kB / 1.227 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/0.3625, allocations: 436.3 kB / 1.227 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3625, allocations: 0 / 1.227 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.3629, allocations: 87.83 kB / 1.228 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3629, allocations: 4 kB / 1.228 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.3629, allocations: 7.984 kB / 1.228 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3629, allocations: 4.016 kB / 1.228 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3629, allocations: 3.984 kB / 1.228 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.3643, allocations: 0.6394 MB / 1.228 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.038e-05/0.3644, allocations: 96.97 kB / 1.228 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.3644, allocations: 3.984 kB / 1.228 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.3648, allocations: 75.88 kB / 1.228 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.3649, allocations: 7.984 kB / 1.228 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.3649, allocations: 7.984 kB / 1.228 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002407/0.3651, allocations: 217.9 kB / 1.229 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3651, allocations: 0 / 1.229 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003137/0.3654, allocations: 43.89 kB / 1.229 GB, free: 2.215 MB / 0.9669 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.0001807/0.3656, allocations: 107.2 kB / 1.229 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.3669, allocations: 0.5229 MB / 1.229 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.367, allocations: 0 / 1.229 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006369/0.3676, allocations: 271.7 kB / 1.229 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.3679, allocations: 28.42 kB / 1.229 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.3691, allocations: 0.5869 MB / 1.23 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.3696, allocations: 0.7512 MB / 1.231 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001957/0.3698, allocations: 57.42 kB / 1.231 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.3699, allocations: 27.41 kB / 1.231 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of SimCode: time 8.21e-07/0.3699, allocations: 0 / 1.231 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of Templates: time 0.006567/0.3765, allocations: 2.887 MB / 1.234 GB, free: 12.92 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.580236055888236]