Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001907/0.001907, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002247/0.002247, allocations: 218.3 kB / 22.24 MB, free: 5.254 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.009/3.009, allocations: 0.49 GB / 0.7951 GB, free: 35.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_12_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.001882/0.001882, allocations: 73.81 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3115, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003249/0.3148, allocations: 1.971 MB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.3161, allocations: 0.713 MB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.575e-05/0.3162, allocations: 7.938 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.3163, allocations: 19.78 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.481e-05/0.3164, allocations: 27.73 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.3168, allocations: 95.77 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.3169, allocations: 151.6 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.3171, allocations: 77.09 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.3173, allocations: 63.72 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.3174, allocations: 71.62 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.3174, allocations: 16 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.3175, allocations: 75.88 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.118e-05/0.3176, allocations: 67.81 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.665e-05/0.3177, allocations: 71.53 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.3181, allocations: 274.7 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3181, allocations: 0 / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3181, allocations: 0 / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3181, allocations: 4 kB / 1.329 GB, free: 13.75 MB / 1.029 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.0007691/0.3188, allocations: 482.7 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3189, allocations: 8.031 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.165e-05/0.3189, allocations: 46.73 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.3206, allocations: 436 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.3211, allocations: 257.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.3212, allocations: 123.6 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.3212, allocations: 12.38 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008369/0.322, allocations: 383.8 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3221, allocations: 0 / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.3221, allocations: 4 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.3221, allocations: 4 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.3234, allocations: 0.5506 MB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.325, allocations: 0.9108 MB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/0.3257, allocations: 290.2 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006347/0.3264, allocations: 272.6 kB / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.3264, allocations: 0 / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.3264, allocations: 34.56 kB / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.3264, allocations: 4 kB / 1.333 GB, free: 9.824 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.00195/0.3284, allocations: 0.7861 MB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.3284, allocations: 51.41 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.3288, allocations: 297.9 kB / 1.334 GB, free: 8.668 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.3288, allocations: 29.64 kB / 1.334 GB, free: 8.633 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.3289, allocations: 156.3 kB / 1.334 GB, free: 8.477 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.3289, allocations: 19.8 kB / 1.334 GB, free: 8.457 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-05/0.329, allocations: 45.61 kB / 1.334 GB, free: 8.406 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3292, allocations: 338.8 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006072/0.3298, allocations: 255.8 kB / 1.335 GB, free: 7.816 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/0.3304, allocations: 259.8 kB / 1.335 GB, free: 7.562 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.3315, allocations: 436.4 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3315, allocations: 0 / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001296/0.3328, allocations: 0.5362 MB / 1.336 GB, free: 6.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3328, allocations: 4 kB / 1.336 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3328, allocations: 4 kB / 1.336 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3329, allocations: 4 kB / 1.336 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.3333, allocations: 95.77 kB / 1.336 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3333, allocations: 0 / 1.336 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.3336, allocations: 75.83 kB / 1.336 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.3336, allocations: 11.97 kB / 1.336 GB, free: 6.398 MB / 1.029 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.0001622/0.3338, allocations: 141.8 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.715e-05/0.3338, allocations: 19.86 kB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.3339, allocations: 29.7 kB / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3339, allocations: 3.984 kB / 1.337 GB, free: 6.195 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3339, allocations: 4 kB / 1.337 GB, free: 6.191 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3339, allocations: 0 / 1.337 GB, free: 6.191 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.3344, allocations: 379.2 kB / 1.337 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3344, allocations: 0 / 1.337 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.3347, allocations: 91.83 kB / 1.337 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3347, allocations: 0 / 1.337 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.3348, allocations: 7.984 kB / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3348, allocations: 3.938 kB / 1.337 GB, free: 5.672 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3348, allocations: 3.938 kB / 1.337 GB, free: 5.668 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.3361, allocations: 0.6356 MB / 1.338 GB, free: 5.016 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.3362, allocations: 27.86 kB / 1.338 GB, free: 4.988 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.436e-05/0.3362, allocations: 0 / 1.338 GB, free: 4.988 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.3365, allocations: 75.86 kB / 1.338 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.3366, allocations: 7.984 kB / 1.338 GB, free: 4.906 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.3366, allocations: 7.984 kB / 1.338 GB, free: 4.898 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002352/0.3368, allocations: 221.2 kB / 1.338 GB, free: 4.684 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3368, allocations: 3.938 kB / 1.338 GB, free: 4.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003027/0.3371, allocations: 39.89 kB / 1.338 GB, free: 4.641 MB / 1.029 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.00172/0.3389, allocations: 1.181 MB / 1.339 GB, free: 3.434 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.3402, allocations: 0.5269 MB / 1.34 GB, free: 2.906 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3402, allocations: 0 / 1.34 GB, free: 2.906 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006216/0.3408, allocations: 275.7 kB / 1.34 GB, free: 2.637 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.3411, allocations: 15.34 kB / 1.34 GB, free: 2.621 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006441/0.3475, allocations: 3.902 MB / 1.344 GB, free: 14.64 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.3477, allocations: 140.6 kB / 1.344 GB, free: 14.49 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001916/0.3479, allocations: 53.42 kB / 1.344 GB, free: 14.44 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.3481, allocations: 83.38 kB / 1.344 GB, free: 14.36 MB / 1.045 GB Notification: Performance of SimCode: time 1.492e-06/0.3481, allocations: 4 kB / 1.344 GB, free: 14.35 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03415/0.3822, allocations: 5.851 MB / 1.35 GB, free: 8.645 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.21, allocations: 9.062 kB / 1.35 GB, free: 8.641 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv. Warning: Get data of variable norQSta.canMelt from file Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv failed! Error: Could not read variable norQSta.SOC in file Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv. Warning: Get data of variable norQSta.SOC from file Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.51344716301537]