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.0008384/0.0008384, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008631/0.0008631, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9271/0.9271, allocations: 177.2 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.665/1.665, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.604e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002402/0.002428, allocations: 1.95 MB / 0.9524 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009878/0.003415, allocations: 0.7089 MB / 0.9531 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.003518, allocations: 7.938 kB / 0.9531 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.003646, allocations: 23.78 kB / 0.9531 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.079e-05/0.003717, allocations: 19.75 kB / 0.9532 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.00409, allocations: 111.7 kB / 0.9533 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.004242, allocations: 155.5 kB / 0.9534 GB, free: 492 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.00439, allocations: 57 kB / 0.9535 GB, free: 432 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.004555, allocations: 95.73 kB / 0.9536 GB, free: 336 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.19e-05/0.004627, allocations: 55.8 kB / 0.9536 GB, free: 280 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.00465, allocations: 12 kB / 0.9536 GB, free: 268 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.004776, allocations: 63.94 kB / 0.9537 GB, free: 204 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 7.893e-05/0.004854, allocations: 67.75 kB / 0.9538 GB, free: 136 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.978e-05/0.004904, allocations: 59.77 kB / 0.9538 GB, free: 76 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.005205, allocations: 279.1 kB / 0.9541 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.005209, allocations: 4 kB / 0.9541 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.393e-06/0.005211, allocations: 0 / 0.9541 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.005215, allocations: 3.938 kB / 0.9541 GB, free: 15.79 MB / 0.9167 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.000641/0.005856, allocations: 493 kB / 0.9546 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.005901, allocations: 12.03 kB / 0.9546 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.005939, allocations: 42.75 kB / 0.9546 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000974/0.006913, allocations: 0.644 MB / 0.9552 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.007237, allocations: 268.9 kB / 0.9555 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.339e-05/0.007331, allocations: 139.6 kB / 0.9556 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.007354, allocations: 16.36 kB / 0.9556 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.007865, allocations: 451.5 kB / 0.9561 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.007878, allocations: 192 / 0.9561 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.007899, allocations: 7.938 kB / 0.9561 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.007906, allocations: 4 kB / 0.9561 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006956/0.008602, allocations: 0.644 MB / 0.9567 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.0097, allocations: 1.036 MB / 0.9577 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.0101, allocations: 342.1 kB / 0.9581 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.01043, allocations: 328.4 kB / 0.9584 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.01045, allocations: 8 kB / 0.9584 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.01047, allocations: 30.56 kB / 0.9584 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 2.033e-06/0.01047, allocations: 0 / 0.9584 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.001172/0.01164, allocations: 0.9692 MB / 0.9594 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.01169, allocations: 59.33 kB / 0.9594 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.01192, allocations: 301.9 kB / 0.9597 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.01194, allocations: 25.7 kB / 0.9597 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.01202, allocations: 148.2 kB / 0.9599 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.01205, allocations: 27.78 kB / 0.9599 GB, free: 9.656 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.381e-05/0.01212, allocations: 69.64 kB / 0.96 GB, free: 9.582 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.01222, allocations: 338.8 kB / 0.9603 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.01255, allocations: 303.6 kB / 0.9606 GB, free: 8.945 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.01287, allocations: 315.6 kB / 0.9609 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006261/0.01349, allocations: 0.5319 MB / 0.9614 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01349, allocations: 0 / 0.9614 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007469/0.01424, allocations: 0.6764 MB / 0.962 GB, free: 7.418 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.01426, allocations: 10.66 kB / 0.9621 GB, free: 7.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01427, allocations: 7.922 kB / 0.9621 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.01429, allocations: 0 / 0.9621 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.01454, allocations: 159.7 kB / 0.9622 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.01454, allocations: 8 kB / 0.9622 GB, free: 7.238 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.0147, allocations: 111.8 kB / 0.9623 GB, free: 7.129 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.01481, allocations: 143.7 kB / 0.9625 GB, free: 6.988 MB / 0.9167 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.0001163/0.01493, allocations: 137.8 kB / 0.9626 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.01496, allocations: 27.8 kB / 0.9626 GB, free: 6.816 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.015, allocations: 25.77 kB / 0.9627 GB, free: 6.789 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.015, allocations: 3.938 kB / 0.9627 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.015, allocations: 0 / 0.9627 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01501, allocations: 0 / 0.9627 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.01532, allocations: 403.3 kB / 0.963 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01532, allocations: 0 / 0.963 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.01552, allocations: 163.7 kB / 0.9632 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01552, allocations: 0 / 0.9632 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.01555, allocations: 23.95 kB / 0.9632 GB, free: 6.164 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01555, allocations: 4 kB / 0.9632 GB, free: 6.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01555, allocations: 4 kB / 0.9632 GB, free: 6.156 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007751/0.01632, allocations: 0.7564 MB / 0.964 GB, free: 5.383 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.01636, allocations: 31.84 kB / 0.964 GB, free: 5.352 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.01638, allocations: 7.984 kB / 0.964 GB, free: 5.344 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.01656, allocations: 111.7 kB / 0.9641 GB, free: 5.234 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.01661, allocations: 11.98 kB / 0.9641 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.01e-05/0.0167, allocations: 135.8 kB / 0.9642 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001598/0.01686, allocations: 221.2 kB / 0.9645 GB, free: 4.871 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01686, allocations: 0 / 0.9645 GB, free: 4.871 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002267/0.01708, allocations: 39.89 kB / 0.9645 GB, free: 4.832 MB / 0.9167 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.00112/0.0182, allocations: 1.309 MB / 0.9658 GB, free: 3.496 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007396/0.01894, allocations: 0.6475 MB / 0.9664 GB, free: 2.844 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/0.01895, allocations: 4 kB / 0.9664 GB, free: 2.84 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.01929, allocations: 335.6 kB / 0.9667 GB, free: 2.512 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.01952, allocations: 13.06 kB / 0.9667 GB, free: 2.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/0.0235, allocations: 4.234 MB / 0.9709 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.0236, allocations: 140.7 kB / 0.971 GB, free: 14.03 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003403/0.02394, allocations: 384.8 kB / 0.9714 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.02412, allocations: 120.4 kB / 0.9715 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of SimCode: time 1.192e-06/0.02412, allocations: 0 / 0.9715 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.04605, allocations: 5.934 MB / 0.9773 GB, free: 7.754 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.017/7.063, allocations: 6.297 kB / 0.9773 GB, free: 7.75 MB / 0.9323 GB " [Timeout remaining time 293] (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/jenkins/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: 11.1213055588305]