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.0015/0.0015, allocations: 100.5 kB / 16.45 MB, free: 6.449 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.001432/0.001432, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.418/1.418, allocations: 230.6 MB / 252.8 MB, free: 9.098 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.094/3.094, allocations: 0.49 GB / 0.7916 GB, free: 33.49 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: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [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.002018/0.002018, allocations: 72.55 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3335, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.004014/0.3375, allocations: 2.01 MB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3392, allocations: 0.748 MB / 1.324 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.3394, allocations: 0 / 1.324 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.3395, allocations: 23.73 kB / 1.324 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.3397, allocations: 23.81 kB / 1.324 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.3401, allocations: 91.77 kB / 1.324 GB, free: 448 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.3404, allocations: 159.5 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.3406, allocations: 64.84 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.3408, allocations: 67.7 kB / 1.324 GB, free: 148 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.3409, allocations: 71.62 kB / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.3409, allocations: 16 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.3411, allocations: 64 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.3413, allocations: 75.7 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.3414, allocations: 99.33 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004317/0.3418, allocations: 266.9 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3418, allocations: 4 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3418, allocations: 0 / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.3418, allocations: 0 / 1.324 GB, free: 15.56 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.001102/0.3429, allocations: 0.5411 MB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.343, allocations: 11.98 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.202e-05/0.343, allocations: 54.67 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/0.345, allocations: 432 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005323/0.3455, allocations: 320 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.3456, allocations: 76.12 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.3456, allocations: 16.31 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009289/0.3466, allocations: 387.8 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3466, allocations: 4 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.3466, allocations: 4 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3466, allocations: 4 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.348, allocations: 0.5429 MB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.3501, allocations: 0.9978 MB / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007493/0.3508, allocations: 294.3 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000671/0.3515, allocations: 264.6 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.3515, allocations: 4 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.3515, allocations: 30.56 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.3515, allocations: 4 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.002114/0.3537, allocations: 0.7861 MB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.3537, allocations: 55.41 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000389/0.3541, allocations: 302.7 kB / 1.329 GB, free: 10.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.3541, allocations: 25.7 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.3543, allocations: 156.2 kB / 1.33 GB, free: 10.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.3543, allocations: 31.88 kB / 1.33 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.3544, allocations: 37.67 kB / 1.33 GB, free: 10 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.3546, allocations: 334.8 kB / 1.33 GB, free: 9.664 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006675/0.3553, allocations: 255.8 kB / 1.33 GB, free: 9.414 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006327/0.3559, allocations: 259.7 kB / 1.331 GB, free: 9.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.3571, allocations: 440.4 kB / 1.331 GB, free: 8.727 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3571, allocations: 0 / 1.331 GB, free: 8.727 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001411/0.3585, allocations: 0.5361 MB / 1.331 GB, free: 8.184 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.3585, allocations: 4 kB / 1.331 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3585, allocations: 3.984 kB / 1.331 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3585, allocations: 0 / 1.331 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.3589, allocations: 95.83 kB / 1.332 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.359, allocations: 0 / 1.332 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003615/0.3593, allocations: 71.83 kB / 1.332 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.3593, allocations: 15.98 kB / 1.332 GB, free: 7.996 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.0002025/0.3596, allocations: 141.8 kB / 1.332 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/0.3596, allocations: 23.86 kB / 1.332 GB, free: 7.824 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.448e-05/0.3597, allocations: 21.7 kB / 1.332 GB, free: 7.801 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3597, allocations: 0 / 1.332 GB, free: 7.801 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3597, allocations: 3.938 kB / 1.332 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3597, allocations: 0 / 1.332 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.3603, allocations: 452 kB / 1.332 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3603, allocations: 4 kB / 1.332 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004231/0.3607, allocations: 91.83 kB / 1.332 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.3607, allocations: 3.938 kB / 1.332 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.3608, allocations: 7.984 kB / 1.332 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3608, allocations: 0 / 1.332 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3608, allocations: 7.984 kB / 1.332 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.3623, allocations: 0.6317 MB / 1.333 GB, free: 6.543 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.3624, allocations: 105 kB / 1.333 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.3625, allocations: 0 / 1.333 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.3628, allocations: 71.88 kB / 1.333 GB, free: 6.352 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.3629, allocations: 19.92 kB / 1.333 GB, free: 6.332 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.3629, allocations: 3.984 kB / 1.333 GB, free: 6.328 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003002/0.3632, allocations: 221.9 kB / 1.333 GB, free: 6.109 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3632, allocations: 0 / 1.333 GB, free: 6.109 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003422/0.3635, allocations: 39.89 kB / 1.333 GB, free: 6.07 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.001898/0.3654, allocations: 1.18 MB / 1.335 GB, free: 4.867 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001397/0.3668, allocations: 0.5268 MB / 1.335 GB, free: 4.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3668, allocations: 0 / 1.335 GB, free: 4.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006813/0.3675, allocations: 272.3 kB / 1.335 GB, free: 4.074 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.3678, allocations: 16.56 kB / 1.335 GB, free: 4.059 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007114/0.375, allocations: 3.907 MB / 1.339 GB, free: 80 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.3754, allocations: 0.7513 MB / 1.34 GB, free: 15.3 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002187/0.3756, allocations: 57.42 kB / 1.34 GB, free: 15.24 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.3758, allocations: 79.38 kB / 1.34 GB, free: 15.16 MB / 1.045 GB Notification: Performance of SimCode: time 1.393e-06/0.3758, allocations: 4 kB / 1.34 GB, free: 15.16 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.406, allocations: 5.116 MB / 1.345 GB, free: 10.19 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/8.704, allocations: 8.047 kB / 1.345 GB, free: 10.18 MB / 1.045 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv --start-time 0 --stop-time 7200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv","/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] "Error: Could not read variable norQSta.canMelt in file Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv. Warning: Get data of variable norQSta.canMelt from file Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv failed! Error: Could not read variable norQSta.SOC in file Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv. Warning: Get data of variable norQSta.SOC from file Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.180098132928833]