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.001548/0.001548, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001721/0.001721, allocations: 209.2 kB / 23.03 MB, free: 4.863 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 3.113/3.113, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.001967/0.001967, allocations: 65.47 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.326, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003454/0.3295, allocations: 1.959 MB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.3309, allocations: 0.7091 MB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.331, allocations: 4 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.3312, allocations: 27.67 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.682e-05/0.3312, allocations: 23.8 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.3316, allocations: 95.77 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.3319, allocations: 151.6 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.332, allocations: 60.91 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.3322, allocations: 71.64 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.3323, allocations: 59.69 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.3323, allocations: 16 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.3325, allocations: 71.94 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.915e-05/0.3326, allocations: 67.75 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.59e-05/0.3327, allocations: 79.47 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.333, allocations: 270.9 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3331, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3331, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.3331, allocations: 0 / 1.331 GB, free: 13.3 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.0008756/0.3339, allocations: 481 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.334, allocations: 12.03 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.3357, allocations: 432 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.3361, allocations: 261.6 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.3362, allocations: 127.6 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.3363, allocations: 12.38 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008153/0.3371, allocations: 388.9 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3371, allocations: 4 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.3371, allocations: 4 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.3371, allocations: 7.984 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.3383, allocations: 0.5351 MB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.34, allocations: 0.8801 MB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006826/0.3407, allocations: 294.2 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005981/0.3413, allocations: 268.6 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.3413, allocations: 0 / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/0.3414, allocations: 38.56 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.3414, allocations: 0 / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.001935/0.3433, allocations: 0.7859 MB / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.3434, allocations: 51.41 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/0.3437, allocations: 297.8 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.3438, allocations: 25.7 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.3439, allocations: 156.1 kB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.3439, allocations: 27.78 kB / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.344, allocations: 37.61 kB / 1.336 GB, free: 8.055 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3442, allocations: 330.8 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005922/0.3448, allocations: 263.7 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/0.3453, allocations: 259.8 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.3465, allocations: 436.4 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3465, allocations: 3.938 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001306/0.3478, allocations: 0.5361 MB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3478, allocations: 4 kB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3478, allocations: 4 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3478, allocations: 0 / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.3482, allocations: 91.83 kB / 1.338 GB, free: 6.137 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3482, allocations: 0 / 1.338 GB, free: 6.137 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.3485, allocations: 83.77 kB / 1.338 GB, free: 6.055 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.3485, allocations: 7.984 kB / 1.338 GB, free: 6.047 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.0001826/0.3487, allocations: 146.3 kB / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.3488, allocations: 15.91 kB / 1.338 GB, free: 5.879 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.3488, allocations: 25.7 kB / 1.338 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3488, allocations: 0 / 1.338 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3488, allocations: 0 / 1.338 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3488, allocations: 4 kB / 1.338 GB, free: 5.848 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.3493, allocations: 351.7 kB / 1.338 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3493, allocations: 8 kB / 1.338 GB, free: 5.461 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003491/0.3496, allocations: 91.77 kB / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3496, allocations: 0 / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.3497, allocations: 7.984 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3497, allocations: 0.5469 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3497, allocations: 4 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.3511, allocations: 0.6317 MB / 1.339 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.3511, allocations: 15.91 kB / 1.339 GB, free: 4.695 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.3511, allocations: 8 kB / 1.339 GB, free: 4.688 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003282/0.3515, allocations: 75.86 kB / 1.339 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.3515, allocations: 7.984 kB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.3516, allocations: 7.984 kB / 1.339 GB, free: 4.598 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002349/0.3518, allocations: 221.2 kB / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3518, allocations: 3.938 kB / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003183/0.3521, allocations: 43.89 kB / 1.339 GB, free: 4.336 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.0001633/0.3523, allocations: 99.25 kB / 1.339 GB, free: 4.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.3535, allocations: 0.5229 MB / 1.34 GB, free: 3.707 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3535, allocations: 0 / 1.34 GB, free: 3.707 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006265/0.3542, allocations: 275.7 kB / 1.34 GB, free: 3.438 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.3545, allocations: 20.42 kB / 1.34 GB, free: 3.414 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3558, allocations: 0.6277 MB / 1.341 GB, free: 2.754 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.3559, allocations: 132.6 kB / 1.341 GB, free: 2.605 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.3561, allocations: 47.36 kB / 1.341 GB, free: 2.559 MB / 1.029 GB Notification: Performance of SimCode: time 6.92e-07/0.3561, allocations: 4 kB / 1.341 GB, free: 2.555 MB / 1.029 GB Notification: Performance of Templates: time 0.006723/0.3628, allocations: 3.857 MB / 1.345 GB, free: 14.7 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: 11.89068456296809]