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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 111.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.371/2.371, allocations: 443.5 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 71.89 kB / 1.059 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2575, allocations: 160.7 MB / 1.216 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003033/0.2605, allocations: 2.005 MB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.2616, allocations: 0.7061 MB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.121e-05/0.2617, allocations: 4 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.2618, allocations: 15.8 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.332e-05/0.2619, allocations: 35.72 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.2622, allocations: 83.78 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.2624, allocations: 147.6 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.2625, allocations: 64.83 kB / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.939e-05/0.2626, allocations: 63.72 kB / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.2627, allocations: 71.62 kB / 1.219 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.2627, allocations: 12 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.2629, allocations: 67.94 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.923e-05/0.2629, allocations: 71.75 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.249e-05/0.263, allocations: 95.34 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.2633, allocations: 266.8 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2633, allocations: 4 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2633, allocations: 0 / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2633, allocations: 0 / 1.219 GB, free: 12.14 MB / 0.9669 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.0007269/0.2641, allocations: 0.5372 MB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.2641, allocations: 15.97 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.028e-05/0.2642, allocations: 46.73 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.2658, allocations: 424 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.2661, allocations: 308 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.675e-05/0.2662, allocations: 76.06 kB / 1.221 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.2663, allocations: 12.38 kB / 1.221 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008046/0.2671, allocations: 388.3 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.2671, allocations: 0 / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.2671, allocations: 15.94 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.2671, allocations: 0 / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.2683, allocations: 0.5385 MB / 1.221 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.2699, allocations: 1.005 MB / 1.222 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006591/0.2706, allocations: 286.3 kB / 1.223 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006036/0.2712, allocations: 276.6 kB / 1.223 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.2712, allocations: 0 / 1.223 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.2712, allocations: 30.56 kB / 1.223 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.2712, allocations: 0 / 1.223 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.001887/0.2731, allocations: 0.7861 MB / 1.224 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.2732, allocations: 51.41 kB / 1.224 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.2735, allocations: 302.6 kB / 1.224 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.2735, allocations: 25.7 kB / 1.224 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.2736, allocations: 160.4 kB / 1.224 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.2736, allocations: 19.84 kB / 1.224 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.252e-05/0.2737, allocations: 33.69 kB / 1.224 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2739, allocations: 342.8 kB / 1.225 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005992/0.2745, allocations: 251.8 kB / 1.225 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/0.275, allocations: 267.8 kB / 1.225 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.2761, allocations: 436.4 kB / 1.226 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2761, allocations: 3.938 kB / 1.226 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00126/0.2774, allocations: 0.5323 MB / 1.226 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2774, allocations: 4 kB / 1.226 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2774, allocations: 0 / 1.226 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2774, allocations: 0 / 1.226 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/0.2778, allocations: 99.83 kB / 1.226 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2778, allocations: 0 / 1.226 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.2781, allocations: 79.75 kB / 1.226 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.2782, allocations: 7.984 kB / 1.226 GB, free: 4.613 MB / 0.9669 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.0001507/0.2783, allocations: 145.8 kB / 1.226 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.2784, allocations: 23.86 kB / 1.226 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.2784, allocations: 29.64 kB / 1.226 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2784, allocations: 3.938 kB / 1.226 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.2784, allocations: 0 / 1.226 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.2784, allocations: 0 / 1.226 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.2789, allocations: 440.3 kB / 1.227 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2789, allocations: 0 / 1.227 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/0.2793, allocations: 91.83 kB / 1.227 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2793, allocations: 7.938 kB / 1.227 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.2793, allocations: 7.984 kB / 1.227 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2793, allocations: 0 / 1.227 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2793, allocations: 4 kB / 1.227 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.2806, allocations: 0.6239 MB / 1.228 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.745e-05/0.2807, allocations: 101 kB / 1.228 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.2807, allocations: 8 kB / 1.228 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.281, allocations: 67.86 kB / 1.228 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.2811, allocations: 15.92 kB / 1.228 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.2811, allocations: 7.984 kB / 1.228 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000223/0.2813, allocations: 221.9 kB / 1.228 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2813, allocations: 0 / 1.228 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002876/0.2816, allocations: 47.89 kB / 1.228 GB, free: 2.699 MB / 0.9669 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.001635/0.2833, allocations: 1.169 MB / 1.229 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.2845, allocations: 0.519 MB / 1.23 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2845, allocations: 0 / 1.23 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000635/0.2852, allocations: 276.3 kB / 1.23 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.2854, allocations: 20.44 kB / 1.23 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006158/0.2916, allocations: 3.9 MB / 1.234 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.292, allocations: 0.7513 MB / 1.235 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001777/0.2922, allocations: 53.42 kB / 1.235 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.2923, allocations: 79.38 kB / 1.235 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of SimCode: time 5.42e-07/0.2923, allocations: 8 kB / 1.235 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.3185, allocations: 5.052 MB / 1.24 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.31/7.629, allocations: 17.67 kB / 1.24 GB, free: 6.824 MB / 0.9825 GB " [Timeout remaining time 292] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "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! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.876451557996916]