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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001609, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001752/0.001753, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.476/2.476, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 69.33 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2695, allocations: 151.6 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.00304/0.2726, allocations: 1.999 MB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.2737, allocations: 0.6864 MB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.421e-05/0.2738, allocations: 11.94 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.274, allocations: 19.8 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.443e-05/0.2741, allocations: 19.75 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.2744, allocations: 83.83 kB / 1.022 GB, free: 7.043 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.2746, allocations: 151.5 kB / 1.022 GB, free: 6.895 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.2748, allocations: 80.61 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.595e-05/0.2749, allocations: 55.78 kB / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.275, allocations: 79.55 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.2751, allocations: 16 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.2752, allocations: 63.95 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.817e-05/0.2753, allocations: 67.81 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.343e-05/0.2754, allocations: 87.42 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.2757, allocations: 271 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2757, allocations: 0 / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2757, allocations: 0 / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.2757, allocations: 3.938 kB / 1.022 GB, free: 6.184 MB / 0.795 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.000728/0.2765, allocations: 0.5297 MB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2765, allocations: 12.92 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.2782, allocations: 419.9 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.2786, allocations: 311.7 kB / 1.024 GB, free: 4.844 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.143e-05/0.2787, allocations: 76.17 kB / 1.024 GB, free: 4.758 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.2787, allocations: 12.38 kB / 1.024 GB, free: 4.746 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008643/0.2796, allocations: 392.2 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.2796, allocations: 3.938 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.2797, allocations: 11.94 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.2797, allocations: 0 / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.2809, allocations: 0.5385 MB / 1.025 GB, free: 3.805 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.2826, allocations: 0.9937 MB / 1.026 GB, free: 2.754 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006847/0.2833, allocations: 294.2 kB / 1.026 GB, free: 2.457 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006021/0.2839, allocations: 276.6 kB / 1.026 GB, free: 2.184 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.2839, allocations: 3.984 kB / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.284, allocations: 34.56 kB / 1.026 GB, free: 2.137 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.284, allocations: 0 / 1.026 GB, free: 2.137 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.001878/0.2858, allocations: 0.7859 MB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.2859, allocations: 55.34 kB / 1.027 GB, free: 1.277 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.2862, allocations: 302.7 kB / 1.027 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.2863, allocations: 25.7 kB / 1.027 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.922e-05/0.2864, allocations: 148.2 kB / 1.027 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.2864, allocations: 19.66 kB / 1.027 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.952e-05/0.2865, allocations: 37.67 kB / 1.027 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2866, allocations: 342.8 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006064/0.2873, allocations: 251.8 kB / 1.028 GB, free: 148 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005838/0.2878, allocations: 259.8 kB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.2889, allocations: 440.9 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2889, allocations: 3.938 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001225/0.2901, allocations: 0.5438 MB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.2901, allocations: 4 kB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2902, allocations: 0 / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2902, allocations: 0 / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.2906, allocations: 99.83 kB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2906, allocations: 0 / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.291, allocations: 75.86 kB / 1.029 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.291, allocations: 7.984 kB / 1.029 GB, free: 14.72 MB / 0.8106 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.0001368/0.2912, allocations: 137.8 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.2912, allocations: 23.72 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.2913, allocations: 29.7 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2913, allocations: 0 / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2913, allocations: 0 / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2913, allocations: 0 / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.2917, allocations: 436.4 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2918, allocations: 4 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003758/0.2921, allocations: 95.77 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2922, allocations: 0 / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.2922, allocations: 7.984 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2922, allocations: 4 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2922, allocations: 4 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.2935, allocations: 0.6354 MB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.776e-05/0.2936, allocations: 100.9 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.2936, allocations: 0 / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/0.294, allocations: 71.86 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.294, allocations: 8 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.294, allocations: 7.984 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001988/0.2943, allocations: 217.9 kB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2943, allocations: 4 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000298/0.2946, allocations: 47.84 kB / 1.031 GB, free: 12.82 MB / 0.8106 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.0001738/0.2947, allocations: 107.2 kB / 1.031 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.296, allocations: 0.5229 MB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2961, allocations: 3.938 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006053/0.2967, allocations: 279.7 kB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.297, allocations: 16.5 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.2981, allocations: 0.5934 MB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.2984, allocations: 0.7474 MB / 1.033 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001776/0.2986, allocations: 53.42 kB / 1.033 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.2987, allocations: 35.39 kB / 1.033 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.2987, allocations: 0 / 1.033 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of Templates: time 0.005609/0.3044, allocations: 2.832 MB / 1.036 GB, free: 7.574 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (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 & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/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) Reference file matches