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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004535/0.004535, allocations: 102 kB / 15.73 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 193.7 kB / 16.67 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.705/2.705, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 71.88 kB / 1.018 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2811, allocations: 151.6 MB / 1.166 GB, free: 7.434 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.00341/0.2845, allocations: 1.975 MB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.2858, allocations: 0.6944 MB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.2859, allocations: 0 / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.2861, allocations: 31.67 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.612e-05/0.2862, allocations: 19.8 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.2865, allocations: 87.78 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.2867, allocations: 151.6 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.2869, allocations: 80.61 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.287, allocations: 63.7 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.2872, allocations: 67.69 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.2872, allocations: 12 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.2874, allocations: 67.89 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.2875, allocations: 71.75 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.827e-05/0.2876, allocations: 87.41 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003561/0.288, allocations: 279 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.288, allocations: 0 / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.172e-06/0.288, allocations: 0 / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.288, allocations: 0 / 1.17 GB, free: 3.738 MB / 0.92 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.0008957/0.2889, allocations: 0.5372 MB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2889, allocations: 8.031 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.09e-05/0.289, allocations: 46.73 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.2907, allocations: 428 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.2912, allocations: 315.9 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.811e-05/0.2913, allocations: 72.17 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.2913, allocations: 12.38 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009006/0.2922, allocations: 387.6 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2923, allocations: 0 / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.2923, allocations: 4 kB / 1.172 GB, free: 1.848 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.2923, allocations: 11.92 kB / 1.172 GB, free: 1.836 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.2936, allocations: 0.5462 MB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.2954, allocations: 1.001 MB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007283/0.2961, allocations: 294.4 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006478/0.2968, allocations: 276.5 kB / 1.174 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.2968, allocations: 8.062 kB / 1.174 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.2968, allocations: 30.56 kB / 1.174 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2968, allocations: 0 / 1.174 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.002008/0.2988, allocations: 0.7782 MB / 1.174 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.2989, allocations: 55.41 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.2992, allocations: 298.6 kB / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.262e-05/0.2993, allocations: 29.7 kB / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.2994, allocations: 152.2 kB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.2995, allocations: 27.83 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.565e-05/0.2996, allocations: 33.69 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2998, allocations: 334.8 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/0.3004, allocations: 263.7 kB / 1.176 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006588/0.3011, allocations: 263.7 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.3022, allocations: 436.4 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3022, allocations: 0 / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001375/0.3036, allocations: 0.5323 MB / 1.177 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3036, allocations: 9.719 kB / 1.177 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3036, allocations: 0 / 1.177 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3037, allocations: 0 / 1.177 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004074/0.3041, allocations: 91.77 kB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.3041, allocations: 11.98 kB / 1.177 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.3044, allocations: 79.77 kB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.3045, allocations: 3.984 kB / 1.177 GB, free: 12.2 MB / 0.9356 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.0001557/0.3046, allocations: 149.8 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.3047, allocations: 23.86 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.3048, allocations: 25.7 kB / 1.177 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3048, allocations: 0 / 1.177 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3048, allocations: 0 / 1.177 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.3048, allocations: 3.938 kB / 1.177 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005117/0.3053, allocations: 436.3 kB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3053, allocations: 0 / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/0.3057, allocations: 91.83 kB / 1.178 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3057, allocations: 4 kB / 1.178 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.3057, allocations: 7.984 kB / 1.178 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3057, allocations: 0 / 1.178 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3058, allocations: 4 kB / 1.178 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.3072, allocations: 0.6277 MB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.062e-05/0.3072, allocations: 104.9 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.3073, allocations: 4 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.3076, allocations: 71.86 kB / 1.178 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.3077, allocations: 11.98 kB / 1.178 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.3077, allocations: 7.984 kB / 1.178 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002373/0.308, allocations: 221.9 kB / 1.179 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/0.308, allocations: 0 / 1.179 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003083/0.3083, allocations: 43.89 kB / 1.179 GB, free: 10.29 MB / 0.9356 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.001797/0.3101, allocations: 1.177 MB / 1.18 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.3115, allocations: 0.5191 MB / 1.18 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3115, allocations: 4 kB / 1.18 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006827/0.3122, allocations: 283.7 kB / 1.181 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.3125, allocations: 12.56 kB / 1.181 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006517/0.319, allocations: 3.895 MB / 1.184 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.3194, allocations: 0.7552 MB / 1.185 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002047/0.3196, allocations: 57.41 kB / 1.185 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.3198, allocations: 79.38 kB / 1.185 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.3198, allocations: 0 / 1.185 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.3467, allocations: 5.054 MB / 1.19 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.238, allocations: 16.33 kB / 1.19 GB, free: 14.46 MB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[502]=7200.000000 File[1199]=4498.560000 Error: Could not read variable norQSta.canMelt in file Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv. Warning: Get data of variable norQSta.canMelt from file Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv failed! Error: Could not read variable norQSta.SOC in file Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv. Warning: Get data of variable norQSta.SOC from file Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv failed! " Variables in the reference:time,norQSta.qNor,norQSta.canMelt,norQSta.SOC Variables in the result:time,fra.y,lmtd.y,norQSta.qNor,coeCha[1],coeCha[2]