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.001714/0.001714, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002312/0.002312, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.547/1.547, allocations: 230.6 MB / 256 MB, free: 7.992 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.813/2.813, allocations: 476.7 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] 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.002075/0.002075, allocations: 65.91 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.328, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003465/0.3315, allocations: 2.041 MB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.3329, allocations: 0.7441 MB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.333, allocations: 4 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.3332, allocations: 19.73 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.655e-05/0.3333, allocations: 39.66 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.3337, allocations: 95.83 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.3339, allocations: 147.6 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.3341, allocations: 70.02 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.3343, allocations: 71.64 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.3344, allocations: 67.69 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.3344, allocations: 16 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.3346, allocations: 71.92 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.784e-05/0.3347, allocations: 79.69 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.096e-05/0.3348, allocations: 87.42 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.3351, allocations: 274.7 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3351, allocations: 4 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3351, allocations: 0 / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.669e-06/0.3351, allocations: 0 / 1.287 GB, free: 7.883 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.0009354/0.3361, allocations: 485 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3361, allocations: 12.03 kB / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.278e-05/0.3362, allocations: 46.73 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.338, allocations: 432 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/0.3385, allocations: 261.6 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.3386, allocations: 127.6 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.3386, allocations: 16.38 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008855/0.3395, allocations: 383.8 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3395, allocations: 0 / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.3396, allocations: 4 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3396, allocations: 4 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.3409, allocations: 0.5468 MB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.3428, allocations: 0.9729 MB / 1.29 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006919/0.3435, allocations: 290.3 kB / 1.291 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006923/0.3442, allocations: 268.6 kB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.3442, allocations: 0 / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.3442, allocations: 42.5 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3442, allocations: 0 / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.00202/0.3462, allocations: 0.7822 MB / 1.292 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.3463, allocations: 55.39 kB / 1.292 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.3466, allocations: 301.9 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.3467, allocations: 25.7 kB / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.3468, allocations: 156.2 kB / 1.292 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.3468, allocations: 23.84 kB / 1.292 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.893e-05/0.3469, allocations: 37.67 kB / 1.292 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3471, allocations: 330.8 kB / 1.293 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006209/0.3477, allocations: 263.7 kB / 1.293 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005921/0.3483, allocations: 259.8 kB / 1.293 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.3494, allocations: 440.4 kB / 1.293 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3494, allocations: 0 / 1.293 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001298/0.3507, allocations: 0.5327 MB / 1.294 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.3507, allocations: 11.98 kB / 1.294 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.3507, allocations: 4 kB / 1.294 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.3507, allocations: 0 / 1.294 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.3511, allocations: 91.83 kB / 1.294 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3511, allocations: 4.062 kB / 1.294 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.3515, allocations: 83.77 kB / 1.294 GB, free: 480 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.3515, allocations: 7.984 kB / 1.294 GB, free: 472 kB / 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.0002111/0.3517, allocations: 149.7 kB / 1.294 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.3518, allocations: 19.86 kB / 1.294 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.3518, allocations: 25.7 kB / 1.294 GB, free: 264 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3518, allocations: 4 kB / 1.294 GB, free: 260 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3518, allocations: 0 / 1.294 GB, free: 260 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.3518, allocations: 0 / 1.294 GB, free: 260 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005394/0.3524, allocations: 403.4 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3524, allocations: 4 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.3527, allocations: 87.83 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.3528, allocations: 4 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.3528, allocations: 7.984 kB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3528, allocations: 7.922 kB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3528, allocations: 8 kB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.3541, allocations: 0.6276 MB / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.3542, allocations: 31.84 kB / 1.295 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.3542, allocations: 0 / 1.295 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.3545, allocations: 67.88 kB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.3546, allocations: 11.98 kB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.3546, allocations: 11.92 kB / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002372/0.3548, allocations: 221.2 kB / 1.296 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3548, allocations: 0 / 1.296 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000315/0.3552, allocations: 43.89 kB / 1.296 GB, free: 14.68 MB / 0.9981 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.001758/0.3569, allocations: 1.169 MB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001303/0.3582, allocations: 0.5268 MB / 1.297 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3582, allocations: 0 / 1.297 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006273/0.3589, allocations: 275.7 kB / 1.298 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.3592, allocations: 16.36 kB / 1.298 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006508/0.3657, allocations: 3.894 MB / 1.302 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.366, allocations: 0.7435 MB / 1.302 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001977/0.3662, allocations: 61.41 kB / 1.302 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.3664, allocations: 87.38 kB / 1.302 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/0.3664, allocations: 0 / 1.302 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.3985, allocations: 5.239 MB / 1.308 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.33, allocations: 9.812 kB / 1.308 GB, free: 2.668 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.271321116000763]