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.001266/0.001266, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001489/0.001489, allocations: 212.5 kB / 22.24 MB, free: 5.262 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 7.777 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.042/3.042, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 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.001985/0.001985, allocations: 65.41 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3197, allocations: 176.1 MB / 1.325 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003413/0.3231, allocations: 1.954 MB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.3244, allocations: 0.717 MB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.3245, allocations: 7.938 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.3247, allocations: 15.8 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.311e-05/0.3248, allocations: 27.73 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.3251, allocations: 99.7 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.3253, allocations: 151.5 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.3255, allocations: 61.17 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.3257, allocations: 75.66 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.3258, allocations: 63.67 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.3258, allocations: 12 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.326, allocations: 75.88 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.207e-05/0.3261, allocations: 63.77 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.442e-05/0.3262, allocations: 75.53 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.3265, allocations: 274.8 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3265, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3265, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.3265, allocations: 0 / 1.329 GB, free: 14.68 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.0008433/0.3274, allocations: 481 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3274, allocations: 12.03 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.435e-05/0.3275, allocations: 46.73 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.3292, allocations: 432 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.3296, allocations: 261.7 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.3297, allocations: 123.5 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.3298, allocations: 12.38 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008377/0.3306, allocations: 383.8 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.3306, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.3306, allocations: 4 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3307, allocations: 4 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.3319, allocations: 0.539 MB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.3336, allocations: 0.9224 MB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006788/0.3343, allocations: 286.3 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006068/0.3349, allocations: 272.6 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.3349, allocations: 7.922 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3349, allocations: 30.56 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.3349, allocations: 0 / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.001915/0.3368, allocations: 0.79 MB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.3369, allocations: 51.41 kB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.3373, allocations: 301.9 kB / 1.333 GB, free: 9.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.3373, allocations: 25.7 kB / 1.333 GB, free: 9.559 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.3374, allocations: 148.3 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.3375, allocations: 27.73 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-05/0.3375, allocations: 41.69 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3377, allocations: 334.8 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006248/0.3383, allocations: 259.8 kB / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005752/0.3389, allocations: 263.7 kB / 1.334 GB, free: 8.488 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.34, allocations: 440.9 kB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.34, allocations: 3.938 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001252/0.3412, allocations: 0.5362 MB / 1.335 GB, free: 7.508 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3412, allocations: 5.875 kB / 1.335 GB, free: 7.504 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3412, allocations: 0 / 1.335 GB, free: 7.504 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3412, allocations: 0 / 1.335 GB, free: 7.504 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.3416, allocations: 91.83 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3416, allocations: 7.938 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.342, allocations: 79.81 kB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.342, allocations: 7.922 kB / 1.336 GB, free: 7.32 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.0001578/0.3421, allocations: 145.8 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.3422, allocations: 23.86 kB / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.832e-05/0.3422, allocations: 25.7 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3422, allocations: 0 / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3422, allocations: 4 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3422, allocations: 0 / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.3427, allocations: 379.2 kB / 1.336 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3427, allocations: 4 kB / 1.336 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.3431, allocations: 91.83 kB / 1.336 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3431, allocations: 0 / 1.336 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.3431, allocations: 7.984 kB / 1.336 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3431, allocations: 0 / 1.336 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3431, allocations: 0 / 1.336 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.3444, allocations: 0.6355 MB / 1.337 GB, free: 5.941 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.3445, allocations: 27.84 kB / 1.337 GB, free: 5.914 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.3445, allocations: 0 / 1.337 GB, free: 5.914 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.3449, allocations: 75.86 kB / 1.337 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.3449, allocations: 8 kB / 1.337 GB, free: 5.832 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.3449, allocations: 11.97 kB / 1.337 GB, free: 5.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000233/0.3452, allocations: 213.2 kB / 1.337 GB, free: 5.613 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.3452, allocations: 0 / 1.337 GB, free: 5.613 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003151/0.3455, allocations: 51.88 kB / 1.337 GB, free: 5.562 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.001691/0.3472, allocations: 1.169 MB / 1.338 GB, free: 4.367 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001268/0.3484, allocations: 0.5268 MB / 1.339 GB, free: 3.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3484, allocations: 0 / 1.339 GB, free: 3.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006321/0.3491, allocations: 279.7 kB / 1.339 GB, free: 3.566 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.3494, allocations: 12.5 kB / 1.339 GB, free: 3.551 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006358/0.3557, allocations: 3.894 MB / 1.343 GB, free: 15.58 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.3559, allocations: 152.5 kB / 1.343 GB, free: 15.41 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001957/0.3561, allocations: 53.42 kB / 1.343 GB, free: 15.36 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.3563, allocations: 83.38 kB / 1.343 GB, free: 15.28 MB / 1.045 GB Notification: Performance of SimCode: time 9.72e-07/0.3563, allocations: 3.938 kB / 1.343 GB, free: 15.28 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/0.391, allocations: 5.82 MB / 1.349 GB, free: 9.605 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.54, allocations: 8.422 kB / 1.349 GB, free: 9.602 MB / 1.045 GB " [Timeout remaining time 288] (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.866302465088665]