Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001199/0.001199, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001329/0.001329, allocations: 215.7 kB / 23.01 MB, free: 4.566 MB / 14.72 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 1.306/1.306, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.874/2.874, allocations: 0.49 GB / 0.7958 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 68.34 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3025, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.0033/0.3058, allocations: 2.026 MB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.3071, allocations: 0.7598 MB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.3072, allocations: 4 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.3073, allocations: 19.73 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.348e-05/0.3074, allocations: 27.72 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.3078, allocations: 99.77 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.308, allocations: 147.6 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.3081, allocations: 68.89 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.3083, allocations: 67.72 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.3084, allocations: 75.61 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.3084, allocations: 16 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.3086, allocations: 71.94 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.506e-05/0.3087, allocations: 75.69 kB / 1.331 GB, free: 14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.4e-05/0.3087, allocations: 83.42 kB / 1.331 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003374/0.3091, allocations: 274.8 kB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3091, allocations: 0 / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3091, allocations: 0 / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.3091, allocations: 0 / 1.331 GB, free: 13.65 MB / 1.029 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.0007437/0.3098, allocations: 489 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.3099, allocations: 8.031 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.3116, allocations: 432 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.312, allocations: 265.6 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.3121, allocations: 123.6 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.3121, allocations: 12.38 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000811/0.3129, allocations: 388.2 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.313, allocations: 0 / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.313, allocations: 4 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.313, allocations: 4 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.3142, allocations: 0.5429 MB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.3158, allocations: 0.9692 MB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/0.3165, allocations: 294.3 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000583/0.3171, allocations: 268.6 kB / 1.335 GB, free: 9.762 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.3171, allocations: 0 / 1.335 GB, free: 9.762 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.3171, allocations: 34.5 kB / 1.335 GB, free: 9.719 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.3171, allocations: 0 / 1.335 GB, free: 9.719 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.001839/0.319, allocations: 0.7939 MB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.319, allocations: 51.41 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.3193, allocations: 297.9 kB / 1.336 GB, free: 8.555 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.3193, allocations: 29.69 kB / 1.336 GB, free: 8.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.3195, allocations: 148.3 kB / 1.336 GB, free: 8.371 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.3195, allocations: 19.8 kB / 1.336 GB, free: 8.352 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-05/0.3196, allocations: 41.67 kB / 1.336 GB, free: 8.305 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3197, allocations: 338.8 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005775/0.3203, allocations: 263.8 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005549/0.3209, allocations: 252.1 kB / 1.337 GB, free: 7.461 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.3219, allocations: 456.5 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3219, allocations: 0 / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001171/0.323, allocations: 0.5322 MB / 1.338 GB, free: 6.473 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3231, allocations: 10.03 kB / 1.338 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3231, allocations: 0 / 1.338 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3231, allocations: 0 / 1.338 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.3235, allocations: 91.83 kB / 1.338 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3235, allocations: 0 / 1.338 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.3238, allocations: 79.81 kB / 1.338 GB, free: 6.297 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.3238, allocations: 7.984 kB / 1.338 GB, free: 6.289 MB / 1.029 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.0001433/0.3239, allocations: 146.2 kB / 1.338 GB, free: 6.137 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.324, allocations: 19.86 kB / 1.338 GB, free: 6.117 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.324, allocations: 25.7 kB / 1.338 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.324, allocations: 8 kB / 1.338 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.324, allocations: 0 / 1.338 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.324, allocations: 0 / 1.338 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.3245, allocations: 418.9 kB / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.3245, allocations: 3.984 kB / 1.338 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003494/0.3249, allocations: 91.78 kB / 1.339 GB, free: 5.531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/0.3249, allocations: 7.984 kB / 1.339 GB, free: 5.523 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.3249, allocations: 3.984 kB / 1.339 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3249, allocations: 0 / 1.339 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3249, allocations: 4 kB / 1.339 GB, free: 5.516 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.3261, allocations: 0.6316 MB / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.3262, allocations: 27.84 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.3262, allocations: 4 kB / 1.339 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.3265, allocations: 71.88 kB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.3266, allocations: 3.984 kB / 1.339 GB, free: 4.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.3266, allocations: 15.97 kB / 1.339 GB, free: 4.746 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002114/0.3268, allocations: 217.2 kB / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3268, allocations: 0 / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002796/0.3271, allocations: 39.89 kB / 1.34 GB, free: 4.496 MB / 1.029 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.0001504/0.3272, allocations: 107.2 kB / 1.34 GB, free: 4.383 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001214/0.3285, allocations: 0.5229 MB / 1.34 GB, free: 3.859 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3285, allocations: 4 kB / 1.34 GB, free: 3.855 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005838/0.329, allocations: 275.7 kB / 1.34 GB, free: 3.586 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.3293, allocations: 20.38 kB / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.3305, allocations: 0.6317 MB / 1.341 GB, free: 2.898 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.3308, allocations: 0.7474 MB / 1.342 GB, free: 2.125 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.331, allocations: 35.38 kB / 1.342 GB, free: 2.09 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.331, allocations: 4 kB / 1.342 GB, free: 2.086 MB / 1.029 GB Notification: Performance of Templates: time 0.005762/0.3367, allocations: 3.809 MB / 1.346 GB, free: 14.27 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.753122847992927]