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.001368/0.001368, 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.001497/0.001497, allocations: 215.6 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.555/1.555, allocations: 230.6 MB / 256 MB, free: 8.039 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.869/2.869, allocations: 476.8 MB / 0.7707 GB, free: 4.289 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.00203/0.00203, allocations: 69.06 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3554, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003977/0.3594, allocations: 2.037 MB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.361, allocations: 0.748 MB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.3612, allocations: 4 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.3614, allocations: 19.73 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.3615, allocations: 27.8 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005164/0.362, allocations: 103.7 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.3623, allocations: 155.5 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.3625, allocations: 64.47 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.3627, allocations: 71.7 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.3629, allocations: 71.62 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.426e-05/0.3629, allocations: 12 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.3631, allocations: 75.94 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.3632, allocations: 71.75 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.3633, allocations: 91.41 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004886/0.3638, allocations: 274.7 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3638, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3638, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.3639, allocations: 0 / 1.287 GB, free: 7.918 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.001051/0.3649, allocations: 489 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.365, allocations: 12.03 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.594e-05/0.365, allocations: 46.73 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/0.3669, allocations: 432 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006157/0.3675, allocations: 261.6 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.3676, allocations: 123.6 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.3677, allocations: 12.38 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009298/0.3686, allocations: 387 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3686, allocations: 0 / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.3687, allocations: 4 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3687, allocations: 4 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.37, allocations: 0.5475 MB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.3721, allocations: 0.9651 MB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007312/0.3728, allocations: 290.3 kB / 1.291 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006472/0.3735, allocations: 272.6 kB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3735, allocations: 0 / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.3735, allocations: 34.56 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.3735, allocations: 0 / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.002058/0.3756, allocations: 0.7859 MB / 1.292 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.3757, allocations: 51.41 kB / 1.292 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/0.376, allocations: 309.8 kB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.3761, allocations: 25.7 kB / 1.292 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.3762, allocations: 156.4 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.3763, allocations: 19.84 kB / 1.292 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-05/0.3763, allocations: 41.62 kB / 1.292 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.3765, allocations: 334.8 kB / 1.293 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006411/0.3772, allocations: 259.8 kB / 1.293 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005942/0.3778, allocations: 260 kB / 1.293 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.3789, allocations: 448.5 kB / 1.293 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3789, allocations: 0 / 1.293 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001301/0.3802, allocations: 0.5361 MB / 1.294 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.3802, allocations: 8 kB / 1.294 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3802, allocations: 0 / 1.294 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3802, allocations: 0 / 1.294 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.3806, allocations: 91.83 kB / 1.294 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3807, allocations: 3.984 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.381, allocations: 79.77 kB / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.381, allocations: 7.984 kB / 1.294 GB, free: 0.5 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.0001986/0.3812, allocations: 145.8 kB / 1.294 GB, free: 356 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.3813, allocations: 19.86 kB / 1.294 GB, free: 336 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.471e-05/0.3813, allocations: 25.7 kB / 1.294 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.3813, allocations: 4 kB / 1.294 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3814, allocations: 0 / 1.294 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3814, allocations: 0 / 1.294 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005679/0.3819, allocations: 407.3 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3819, allocations: 4 kB / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.3823, allocations: 91.77 kB / 1.295 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.3823, allocations: 0 / 1.295 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.3823, allocations: 11.98 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3823, allocations: 4 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3823, allocations: 0 / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.3837, allocations: 0.6317 MB / 1.295 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.3838, allocations: 19.86 kB / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.3839, allocations: 8 kB / 1.295 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.3842, allocations: 71.86 kB / 1.296 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.3843, allocations: 7.984 kB / 1.296 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.3843, allocations: 11.98 kB / 1.296 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000315/0.3846, allocations: 217.2 kB / 1.296 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3846, allocations: 3.938 kB / 1.296 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003594/0.385, allocations: 43.89 kB / 1.296 GB, free: 14.72 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.001869/0.3869, allocations: 1.177 MB / 1.297 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.3882, allocations: 0.5268 MB / 1.297 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3882, allocations: 0 / 1.297 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006474/0.3889, allocations: 267.7 kB / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.3892, allocations: 22.42 kB / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007818/0.397, allocations: 3.91 MB / 1.302 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.3975, allocations: 0.7435 MB / 1.302 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002408/0.3978, allocations: 57.42 kB / 1.302 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.398, allocations: 83.38 kB / 1.302 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/0.398, allocations: 0 / 1.302 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03795/0.436, allocations: 5.243 MB / 1.308 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.68, allocations: 3.828 kB / 1.308 GB, free: 2.715 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.67985329707153]