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.001175/0.001175, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001338/0.001338, allocations: 216.9 kB / 22.26 MB, free: 5.082 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.318/1.318, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 179] 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 2.896/2.896, allocations: 0.49 GB / 0.7951 GB, free: 33.52 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.001805/0.001805, allocations: 71.14 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2902, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003129/0.2933, allocations: 2.03 MB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.2945, allocations: 0.7598 MB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.136e-05/0.2946, allocations: 7.938 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.2947, allocations: 15.8 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.778e-05/0.2948, allocations: 27.72 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.2951, allocations: 103.7 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.2953, allocations: 143.6 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.2954, allocations: 65.19 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.2956, allocations: 71.7 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.2957, allocations: 75.62 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.2957, allocations: 16 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.2959, allocations: 75.88 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.559e-05/0.2959, allocations: 75.73 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.277e-05/0.296, allocations: 87.41 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.2963, allocations: 270.8 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2963, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2963, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2963, allocations: 4 kB / 1.33 GB, free: 14.15 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.0007304/0.2971, allocations: 485 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2971, allocations: 12.03 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.952e-05/0.2972, allocations: 46.73 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.2988, allocations: 432 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.2992, allocations: 257.7 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.2993, allocations: 123.6 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.2994, allocations: 12.38 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007922/0.3001, allocations: 384 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3002, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.3002, allocations: 4 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3002, allocations: 4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.3014, allocations: 0.5468 MB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.303, allocations: 0.9653 MB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000646/0.3037, allocations: 286.3 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005921/0.3043, allocations: 276.5 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.3043, allocations: 4 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.3043, allocations: 34.56 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.3043, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.001862/0.3062, allocations: 0.7822 MB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.3062, allocations: 55.41 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.3065, allocations: 301.8 kB / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.3065, allocations: 25.7 kB / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.3066, allocations: 152.3 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.3067, allocations: 27.73 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.028e-05/0.3068, allocations: 41.67 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3069, allocations: 330.8 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005716/0.3075, allocations: 263.7 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005547/0.308, allocations: 259.8 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.309, allocations: 440.9 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3091, allocations: 3.938 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001189/0.3102, allocations: 0.5401 MB / 1.336 GB, free: 6.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3103, allocations: 5.562 kB / 1.336 GB, free: 6.926 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3103, allocations: 0 / 1.336 GB, free: 6.926 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3103, allocations: 0 / 1.336 GB, free: 6.926 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.3106, allocations: 95.77 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3107, allocations: 4 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.3109, allocations: 71.83 kB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.311, allocations: 11.97 kB / 1.337 GB, free: 6.746 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.0001359/0.3111, allocations: 141.8 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.3112, allocations: 23.86 kB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.164e-05/0.3112, allocations: 25.7 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.3112, allocations: 3.984 kB / 1.337 GB, free: 6.543 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3112, allocations: 4 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.3112, allocations: 0 / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.3117, allocations: 422.8 kB / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3117, allocations: 0 / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.312, allocations: 91.83 kB / 1.337 GB, free: 5.988 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.312, allocations: 8 kB / 1.337 GB, free: 5.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.3121, allocations: 7.969 kB / 1.337 GB, free: 5.973 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3121, allocations: 4 kB / 1.337 GB, free: 5.969 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3121, allocations: 0 / 1.337 GB, free: 5.969 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.3133, allocations: 0.6355 MB / 1.338 GB, free: 5.316 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.3134, allocations: 23.84 kB / 1.338 GB, free: 5.293 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.3134, allocations: 4 kB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.3137, allocations: 71.88 kB / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.3138, allocations: 3.984 kB / 1.338 GB, free: 5.215 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.3138, allocations: 7.984 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000213/0.314, allocations: 225.2 kB / 1.338 GB, free: 4.988 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.314, allocations: 0 / 1.338 GB, free: 4.988 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002762/0.3143, allocations: 39.89 kB / 1.338 GB, free: 4.949 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.001547/0.3158, allocations: 1.18 MB / 1.339 GB, free: 3.742 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.317, allocations: 0.5229 MB / 1.34 GB, free: 3.219 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.317, allocations: 3.938 kB / 1.34 GB, free: 3.215 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000582/0.3176, allocations: 275.7 kB / 1.34 GB, free: 2.945 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.3179, allocations: 16.5 kB / 1.34 GB, free: 2.926 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00586/0.3237, allocations: 3.901 MB / 1.344 GB, free: 14.95 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.3241, allocations: 0.7551 MB / 1.345 GB, free: 14.17 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001635/0.3243, allocations: 53.42 kB / 1.345 GB, free: 14.12 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.3244, allocations: 83.38 kB / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of SimCode: time 3.4e-07/0.3244, allocations: 0 / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03178/0.3562, allocations: 5.235 MB / 1.35 GB, free: 8.938 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.808/10.16, allocations: 6.656 kB / 1.35 GB, free: 8.934 MB / 1.045 GB " [Timeout remaining time 290] (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: 16.13261876300021]