Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001664/0.001664, allocations: 103.2 kB / 16.45 MB, free: 6.504 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.002201/0.002201, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.508/1.508, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.944/2.944, allocations: 476.7 MB / 0.7672 GB, free: 5.227 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_11_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.002001/0.002001, allocations: 71.91 kB / 1.112 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.835/0.837, allocations: 169.9 MB / 1.278 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.00523/0.8423, allocations: 2.009 MB / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.8438, allocations: 0.7596 MB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.8439, allocations: 0 / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.844, allocations: 19.73 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.393e-05/0.8441, allocations: 27.78 kB / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.8445, allocations: 103.8 kB / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.8447, allocations: 151.5 kB / 1.281 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.8448, allocations: 70.7 kB / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.845, allocations: 59.78 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.8451, allocations: 79.55 kB / 1.281 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.8452, allocations: 16 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.8453, allocations: 59.95 kB / 1.282 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.8454, allocations: 75.75 kB / 1.282 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.431e-05/0.8455, allocations: 87.41 kB / 1.282 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.8459, allocations: 282.7 kB / 1.282 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.8459, allocations: 0 / 1.282 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8459, allocations: 0 / 1.282 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.8459, allocations: 4 kB / 1.282 GB, free: 9.766 MB / 0.9825 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.0009128/0.8468, allocations: 0.5392 MB / 1.283 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.8468, allocations: 8.031 kB / 1.283 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.286e-05/0.8469, allocations: 46.73 kB / 1.283 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.8487, allocations: 436 kB / 1.283 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.8492, allocations: 319.9 kB / 1.283 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.59e-05/0.8493, allocations: 76.17 kB / 1.283 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.8493, allocations: 8.375 kB / 1.283 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008722/0.8502, allocations: 387.1 kB / 1.284 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.8502, allocations: 0 / 1.284 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.8502, allocations: 8 kB / 1.284 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.8502, allocations: 4 kB / 1.284 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.8515, allocations: 0.5397 MB / 1.284 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.8534, allocations: 1.002 MB / 1.285 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000713/0.8541, allocations: 298.2 kB / 1.286 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006374/0.8547, allocations: 268.6 kB / 1.286 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.8547, allocations: 0 / 1.286 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.8548, allocations: 34.56 kB / 1.286 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.8548, allocations: 0 / 1.286 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.002048/0.8568, allocations: 0.7899 MB / 1.287 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.8569, allocations: 55.41 kB / 1.287 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.8572, allocations: 298.6 kB / 1.287 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.8572, allocations: 25.7 kB / 1.287 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.8574, allocations: 160.2 kB / 1.287 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.8574, allocations: 23.78 kB / 1.287 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.737e-05/0.8575, allocations: 37.67 kB / 1.287 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.8577, allocations: 334.8 kB / 1.287 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006326/0.8583, allocations: 259.7 kB / 1.288 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006172/0.8589, allocations: 255.8 kB / 1.288 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.86, allocations: 444.4 kB / 1.288 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.86, allocations: 0 / 1.288 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001384/0.8614, allocations: 0.54 MB / 1.289 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.8614, allocations: 4 kB / 1.289 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.8614, allocations: 0 / 1.289 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.8614, allocations: 0 / 1.289 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.8619, allocations: 91.83 kB / 1.289 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8619, allocations: 4 kB / 1.289 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.8622, allocations: 75.77 kB / 1.289 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.8622, allocations: 15.97 kB / 1.289 GB, free: 2.215 MB / 0.9825 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.0001569/0.8624, allocations: 138.3 kB / 1.289 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-05/0.8624, allocations: 27.86 kB / 1.289 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.8625, allocations: 25.69 kB / 1.289 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.8625, allocations: 0 / 1.289 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.8625, allocations: 0 / 1.289 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.8625, allocations: 4 kB / 1.289 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.863, allocations: 436.4 kB / 1.29 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.863, allocations: 0 / 1.29 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/0.8634, allocations: 99.77 kB / 1.29 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.8634, allocations: 0 / 1.29 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.8634, allocations: 11.97 kB / 1.29 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8634, allocations: 0 / 1.29 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8634, allocations: 0.5469 kB / 1.29 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.8648, allocations: 0.6356 MB / 1.29 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.682e-05/0.8649, allocations: 105 kB / 1.291 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.865, allocations: 4 kB / 1.291 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.8653, allocations: 67.88 kB / 1.291 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.8654, allocations: 11.92 kB / 1.291 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.8654, allocations: 7.984 kB / 1.291 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002398/0.8656, allocations: 225.9 kB / 1.291 GB, free: 352 kB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8656, allocations: 0 / 1.291 GB, free: 352 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003082/0.8659, allocations: 39.89 kB / 1.291 GB, free: 312 kB / 0.9825 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.001807/0.8677, allocations: 1.18 MB / 1.292 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.8691, allocations: 0.5267 MB / 1.293 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.8691, allocations: 4 kB / 1.293 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00065/0.8698, allocations: 267.7 kB / 1.293 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.8701, allocations: 20.42 kB / 1.293 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/0.8767, allocations: 3.881 MB / 1.297 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.8771, allocations: 0.7513 MB / 1.297 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001885/0.8773, allocations: 53.41 kB / 1.297 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.8774, allocations: 85.83 kB / 1.297 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/0.8774, allocations: 4 kB / 1.297 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.909, allocations: 5.124 MB / 1.302 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.418/9.327, allocations: 12 kB / 1.302 GB, free: 4.422 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv. Warning: Get data of variable norQSta.canMelt from file Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv failed! Error: Could not read variable norQSta.SOC in file Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv. Warning: Get data of variable norQSta.SOC from file Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.739492872031406]