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.005174/0.005175, allocations: 98.2 kB / 15.73 MB, free: 6.004 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.001117/0.001117, allocations: 193.2 kB / 16.67 MB, free: 5.934 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.582/2.582, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2643, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003059/0.2674, allocations: 1.975 MB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.2686, allocations: 0.6866 MB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.2687, allocations: 4 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.2689, allocations: 27.67 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.813e-05/0.269, allocations: 27.78 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.2693, allocations: 83.78 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.2695, allocations: 147.6 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.2697, allocations: 88.59 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.2698, allocations: 63.7 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.27, allocations: 63.64 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.27, allocations: 16 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.2702, allocations: 63.95 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.448e-05/0.2703, allocations: 75.73 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.974e-05/0.2704, allocations: 95.41 kB / 1.17 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.2707, allocations: 263 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2707, allocations: 0 / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2707, allocations: 4 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.2708, allocations: 0 / 1.17 GB, free: 3.617 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.0008262/0.2716, allocations: 0.5411 MB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2716, allocations: 12.03 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.2717, allocations: 46.69 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.2734, allocations: 428 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.2738, allocations: 315.9 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.567e-05/0.2739, allocations: 68.19 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.274, allocations: 16.38 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008267/0.2748, allocations: 387.6 kB / 1.172 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2748, allocations: 4 kB / 1.172 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.2749, allocations: 4 kB / 1.172 GB, free: 1.715 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.2749, allocations: 4 kB / 1.172 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.2761, allocations: 0.5423 MB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.2778, allocations: 0.9976 MB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.2784, allocations: 294.3 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005876/0.279, allocations: 276.6 kB / 1.174 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.2791, allocations: 4.141 kB / 1.174 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.2791, allocations: 34.56 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.2791, allocations: 4 kB / 1.174 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.00186/0.281, allocations: 0.7743 MB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.281, allocations: 55.41 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.2813, allocations: 306.6 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.2814, allocations: 29.7 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.2815, allocations: 148.2 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.2815, allocations: 19.86 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.759e-05/0.2816, allocations: 37.67 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2818, allocations: 338.8 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005804/0.2823, allocations: 259.7 kB / 1.176 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005595/0.2829, allocations: 263.8 kB / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.284, allocations: 440.4 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.284, allocations: 0 / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001202/0.2852, allocations: 0.5288 MB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.2852, allocations: 8 kB / 1.177 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2852, allocations: 0 / 1.177 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2852, allocations: 3.938 kB / 1.177 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.2856, allocations: 95.83 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.2856, allocations: 4.062 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.2859, allocations: 79.75 kB / 1.177 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.286, allocations: 11.98 kB / 1.177 GB, free: 12.07 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.0001416/0.2861, allocations: 141.8 kB / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.2862, allocations: 23.84 kB / 1.177 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.2862, allocations: 21.72 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2863, allocations: 4 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.2863, allocations: 0 / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2863, allocations: 11.91 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.2868, allocations: 440.3 kB / 1.178 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2868, allocations: 0 / 1.178 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.2871, allocations: 91.83 kB / 1.178 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2871, allocations: 0 / 1.178 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.2872, allocations: 11.98 kB / 1.178 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2872, allocations: 3.938 kB / 1.178 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2872, allocations: 4 kB / 1.178 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.2884, allocations: 0.6278 MB / 1.178 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-05/0.2885, allocations: 101 kB / 1.178 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.2886, allocations: 0 / 1.178 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.2889, allocations: 71.86 kB / 1.178 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.289, allocations: 12 kB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.289, allocations: 11.97 kB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001988/0.2892, allocations: 213.9 kB / 1.179 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2892, allocations: 0 / 1.179 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000314/0.2895, allocations: 39.89 kB / 1.179 GB, free: 10.17 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.001541/0.2911, allocations: 1.177 MB / 1.18 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.2923, allocations: 0.5268 MB / 1.18 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2923, allocations: 0 / 1.18 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006056/0.2929, allocations: 279.7 kB / 1.181 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.2932, allocations: 16.56 kB / 1.181 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005915/0.2991, allocations: 3.891 MB / 1.184 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.2995, allocations: 0.7513 MB / 1.185 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000202/0.2997, allocations: 61.42 kB / 1.185 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.2999, allocations: 79.38 kB / 1.185 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of SimCode: time 5.61e-07/0.2999, allocations: 0 / 1.185 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.321, allocations: 5.066 MB / 1.19 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.367/7.688, allocations: 7.953 kB / 1.19 GB, free: 14.34 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]