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.002018/0.002018, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002083/0.002083, allocations: 212.4 kB / 22.24 MB, free: 5.238 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.797 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.722/2.722, allocations: 476 MB / 0.7699 GB, free: 4.727 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.002095/0.002095, allocations: 67.2 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3234, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.00358/0.3269, allocations: 1.968 MB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3284, allocations: 0.713 MB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.3285, allocations: 0 / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.3286, allocations: 19.73 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.31e-05/0.3287, allocations: 27.72 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.3291, allocations: 91.84 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.3293, allocations: 151.6 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.3295, allocations: 64.94 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.3296, allocations: 75.66 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.3297, allocations: 63.67 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.3298, allocations: 16 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.3299, allocations: 59.95 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.33, allocations: 75.69 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.845e-05/0.3301, allocations: 67.53 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.3305, allocations: 284.5 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3305, allocations: 0 / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3305, allocations: 0 / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3305, allocations: 0 / 1.286 GB, free: 8.781 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.0009596/0.3314, allocations: 489 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3315, allocations: 8.031 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.668e-05/0.3315, allocations: 50.73 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.3333, allocations: 436 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.3338, allocations: 261.7 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.3339, allocations: 119.6 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.334, allocations: 12.38 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008836/0.3348, allocations: 383.1 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3349, allocations: 0 / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.3349, allocations: 8 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3349, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.3363, allocations: 0.5436 MB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.3382, allocations: 0.9144 MB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007153/0.3389, allocations: 290.3 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006704/0.3396, allocations: 272.6 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.3396, allocations: 4 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.3396, allocations: 38.5 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.3396, allocations: 0 / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.002084/0.3417, allocations: 0.7861 MB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.3418, allocations: 55.41 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.3422, allocations: 301.8 kB / 1.291 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.3422, allocations: 29.7 kB / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.3423, allocations: 152.2 kB / 1.291 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.3424, allocations: 23.8 kB / 1.291 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3425, allocations: 37.67 kB / 1.291 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.3427, allocations: 342.8 kB / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007119/0.3434, allocations: 255.8 kB / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/0.344, allocations: 255.8 kB / 1.292 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.3451, allocations: 444.3 kB / 1.292 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3451, allocations: 0 / 1.292 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001313/0.3464, allocations: 0.5323 MB / 1.293 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.3464, allocations: 11.94 kB / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3464, allocations: 0 / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3465, allocations: 0 / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.3469, allocations: 95.83 kB / 1.293 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3469, allocations: 0 / 1.293 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.3472, allocations: 79.81 kB / 1.293 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.3472, allocations: 7.984 kB / 1.293 GB, free: 1.422 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.0001942/0.3474, allocations: 145.7 kB / 1.293 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.3475, allocations: 23.84 kB / 1.293 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.3475, allocations: 21.72 kB / 1.293 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3475, allocations: 4 kB / 1.293 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.3476, allocations: 7.984 kB / 1.293 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3476, allocations: 0 / 1.293 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005499/0.3481, allocations: 371.3 kB / 1.294 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3481, allocations: 0 / 1.294 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000375/0.3485, allocations: 87.83 kB / 1.294 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.3485, allocations: 8 kB / 1.294 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.3485, allocations: 7.969 kB / 1.294 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-05/0.3485, allocations: 4 kB / 1.294 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3485, allocations: 0.5469 kB / 1.294 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.35, allocations: 0.6433 MB / 1.294 GB, free: 40 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/0.35, allocations: 23.84 kB / 1.294 GB, free: 16 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.3501, allocations: 4 kB / 1.294 GB, free: 12 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/0.3504, allocations: 67.94 kB / 1.294 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.3505, allocations: 7.984 kB / 1.294 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.3505, allocations: 11.92 kB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002656/0.3508, allocations: 221.2 kB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3508, allocations: 0 / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003118/0.3511, allocations: 39.89 kB / 1.295 GB, free: 15.67 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.001784/0.3529, allocations: 1.18 MB / 1.296 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001321/0.3542, allocations: 0.5229 MB / 1.296 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3542, allocations: 0 / 1.296 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006747/0.3549, allocations: 271.7 kB / 1.297 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.3552, allocations: 30.72 kB / 1.297 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006757/0.3619, allocations: 3.894 MB / 1.301 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.3621, allocations: 140.6 kB / 1.301 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002114/0.3623, allocations: 53.42 kB / 1.301 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.3625, allocations: 83.38 kB / 1.301 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of SimCode: time 1.353e-06/0.3625, allocations: 0 / 1.301 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03401/0.3965, allocations: 5.816 MB / 1.306 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.78, allocations: 9.422 kB / 1.306 GB, free: 3.723 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.436307615600526]