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.001827/0.001827, allocations: 108 kB / 16.45 MB, free: 6.453 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.002065/0.002065, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.561/1.561, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.283/3.283, allocations: 0.4899 GB / 0.7915 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] 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.00204/0.00204, allocations: 72.06 kB / 1.149 GB, free: 26.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4015, allocations: 176.1 MB / 1.321 GB, free: 2.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.004099/0.4056, allocations: 2.018 MB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.4073, allocations: 0.7558 MB / 1.324 GB, free: 24 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.4074, allocations: 4 kB / 1.324 GB, free: 20 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.4076, allocations: 19.73 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.4077, allocations: 19.8 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.4081, allocations: 91.78 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.4083, allocations: 155.5 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.4085, allocations: 68.55 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.4087, allocations: 63.78 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.4088, allocations: 79.55 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.4088, allocations: 16 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.409, allocations: 67.95 kB / 1.325 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.4091, allocations: 71.75 kB / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.4092, allocations: 91.39 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.4096, allocations: 270.8 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4096, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4096, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.4096, allocations: 0 / 1.325 GB, free: 15.02 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.0009867/0.4106, allocations: 0.5528 MB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4106, allocations: 11.98 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.4126, allocations: 432 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.4131, allocations: 327.9 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.4132, allocations: 68.19 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.4132, allocations: 12.38 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009173/0.4142, allocations: 380 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.4142, allocations: 0 / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.4142, allocations: 11.92 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.4142, allocations: 4 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.4156, allocations: 0.539 MB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.4175, allocations: 0.99 MB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008687/0.4184, allocations: 298.2 kB / 1.328 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006634/0.419, allocations: 268.6 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.4191, allocations: 12.14 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.4191, allocations: 34.56 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.704e-06/0.4191, allocations: 0 / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.002336/0.4214, allocations: 0.782 MB / 1.33 GB, free: 10.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.4215, allocations: 59.34 kB / 1.33 GB, free: 10.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003914/0.4219, allocations: 294.7 kB / 1.33 GB, free: 9.781 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.4219, allocations: 33.69 kB / 1.33 GB, free: 9.742 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.4221, allocations: 148.2 kB / 1.33 GB, free: 9.594 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.4221, allocations: 27.75 kB / 1.33 GB, free: 9.566 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.4222, allocations: 37.67 kB / 1.33 GB, free: 9.523 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.4224, allocations: 338.8 kB / 1.33 GB, free: 9.184 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007205/0.4231, allocations: 259.7 kB / 1.331 GB, free: 8.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007648/0.4239, allocations: 259.8 kB / 1.331 GB, free: 8.676 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.4251, allocations: 440.9 kB / 1.331 GB, free: 8.242 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4251, allocations: 0 / 1.331 GB, free: 8.242 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001476/0.4265, allocations: 0.5361 MB / 1.332 GB, free: 7.699 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.4266, allocations: 7.938 kB / 1.332 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.4266, allocations: 4 kB / 1.332 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.4266, allocations: 0 / 1.332 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.427, allocations: 95.83 kB / 1.332 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.427, allocations: 4 kB / 1.332 GB, free: 7.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.4274, allocations: 75.81 kB / 1.332 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.4274, allocations: 7.984 kB / 1.332 GB, free: 7.508 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.0001977/0.4276, allocations: 141.8 kB / 1.332 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.4277, allocations: 23.86 kB / 1.332 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.815e-05/0.4278, allocations: 25.7 kB / 1.332 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4278, allocations: 0 / 1.332 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4278, allocations: 0 / 1.332 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4278, allocations: 4 kB / 1.332 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006285/0.4284, allocations: 451.9 kB / 1.333 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4284, allocations: 3.984 kB / 1.333 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.4288, allocations: 87.83 kB / 1.333 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4288, allocations: 11.94 kB / 1.333 GB, free: 6.711 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.4289, allocations: 7.984 kB / 1.333 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4289, allocations: 0 / 1.333 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.4289, allocations: 4 kB / 1.333 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.4303, allocations: 0.6278 MB / 1.333 GB, free: 6.055 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.487e-05/0.4304, allocations: 101 kB / 1.333 GB, free: 5.938 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.4305, allocations: 0 / 1.333 GB, free: 5.938 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.4308, allocations: 75.8 kB / 1.334 GB, free: 5.863 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.4309, allocations: 8 kB / 1.334 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.4309, allocations: 7.984 kB / 1.334 GB, free: 5.848 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002859/0.4312, allocations: 221.9 kB / 1.334 GB, free: 5.629 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4312, allocations: 0 / 1.334 GB, free: 5.629 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003236/0.4315, allocations: 43.89 kB / 1.334 GB, free: 5.586 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.0003059/0.4318, allocations: 115.1 kB / 1.334 GB, free: 5.465 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001455/0.4333, allocations: 0.5151 MB / 1.334 GB, free: 4.949 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4333, allocations: 0 / 1.334 GB, free: 4.949 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006916/0.434, allocations: 283.6 kB / 1.335 GB, free: 4.672 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.4343, allocations: 24.44 kB / 1.335 GB, free: 4.648 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.4356, allocations: 0.5908 MB / 1.335 GB, free: 4.031 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.4361, allocations: 0.7474 MB / 1.336 GB, free: 3.254 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001913/0.4362, allocations: 57.41 kB / 1.336 GB, free: 3.195 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.4364, allocations: 27.41 kB / 1.336 GB, free: 3.168 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/0.4364, allocations: 0 / 1.336 GB, free: 3.168 MB / 1.029 GB Notification: Performance of Templates: time 0.007261/0.4436, allocations: 2.867 MB / 1.339 GB, free: 308 kB / 1.029 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/jenkins/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: 9.356622788123786]