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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003976/0.003976, allocations: 101.2 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 187.2 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.442/2.442, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 67.89 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5915/0.5932, allocations: 159.1 MB / 1.22 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003062/0.5963, allocations: 1.981 MB / 1.222 GB, free: 36 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.5975, allocations: 0.6906 MB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.5976, allocations: 3.938 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.5978, allocations: 23.8 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.614e-05/0.5979, allocations: 19.73 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.5982, allocations: 87.78 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.5984, allocations: 151.6 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.5986, allocations: 80.61 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.5987, allocations: 67.7 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.5988, allocations: 71.62 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.5988, allocations: 12 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.599, allocations: 63.95 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.051e-05/0.5991, allocations: 71.75 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.366e-05/0.5992, allocations: 91.39 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.5995, allocations: 270.5 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.5995, allocations: 0 / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.093e-06/0.5995, allocations: 0 / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.5995, allocations: 0 / 1.224 GB, free: 14.34 MB / 0.9512 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.0007591/0.6003, allocations: 0.5412 MB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.6003, allocations: 11.97 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.967e-05/0.6004, allocations: 46.73 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.6019, allocations: 424 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.6023, allocations: 315.9 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.1e-05/0.6024, allocations: 68.19 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.6024, allocations: 12.38 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007758/0.6032, allocations: 391 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.6032, allocations: 3.984 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.6032, allocations: 4 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.6032, allocations: 0 / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.6044, allocations: 0.5429 MB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.606, allocations: 1.002 MB / 1.227 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006377/0.6067, allocations: 298.2 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000579/0.6073, allocations: 272.6 kB / 1.228 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.6073, allocations: 4 kB / 1.228 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.6073, allocations: 34.55 kB / 1.228 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.6073, allocations: 0 / 1.228 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.001795/0.6091, allocations: 0.7899 MB / 1.228 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.6092, allocations: 55.41 kB / 1.228 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.6095, allocations: 290.7 kB / 1.229 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.6095, allocations: 29.7 kB / 1.229 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.899e-05/0.6096, allocations: 148.3 kB / 1.229 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.6096, allocations: 27.75 kB / 1.229 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.6097, allocations: 37.67 kB / 1.229 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6099, allocations: 338.8 kB / 1.229 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005556/0.6104, allocations: 255.8 kB / 1.229 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/0.611, allocations: 264 kB / 1.23 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.612, allocations: 448.3 kB / 1.23 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.612, allocations: 0 / 1.23 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001159/0.6132, allocations: 0.5323 MB / 1.231 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.6132, allocations: 4 kB / 1.231 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.6132, allocations: 0 / 1.231 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.6132, allocations: 3.938 kB / 1.231 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.6136, allocations: 91.83 kB / 1.231 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.6136, allocations: 4 kB / 1.231 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.6139, allocations: 75.83 kB / 1.231 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.6139, allocations: 11.97 kB / 1.231 GB, free: 6.801 MB / 0.9512 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.0001319/0.614, allocations: 142.3 kB / 1.231 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.6141, allocations: 23.86 kB / 1.231 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.6141, allocations: 25.7 kB / 1.231 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.6142, allocations: 4 kB / 1.231 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.6142, allocations: 0 / 1.231 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.6142, allocations: 0 / 1.231 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.6146, allocations: 452 kB / 1.231 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.6146, allocations: 0 / 1.231 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.615, allocations: 95.77 kB / 1.232 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.615, allocations: 4 kB / 1.232 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.615, allocations: 11.97 kB / 1.232 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.615, allocations: 0 / 1.232 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.615, allocations: 0 / 1.232 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.6162, allocations: 0.6278 MB / 1.232 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.6163, allocations: 105 kB / 1.232 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.6164, allocations: 4 kB / 1.232 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.6167, allocations: 67.88 kB / 1.232 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.6167, allocations: 11.98 kB / 1.232 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.6167, allocations: 7.984 kB / 1.232 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002043/0.617, allocations: 217.9 kB / 1.233 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.31e-07/0.617, allocations: 0 / 1.233 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002634/0.6172, allocations: 43.89 kB / 1.233 GB, free: 4.887 MB / 0.9512 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.001516/0.6187, allocations: 1.18 MB / 1.234 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001179/0.6199, allocations: 0.5268 MB / 1.234 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.62, allocations: 7.938 kB / 1.234 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005844/0.6205, allocations: 275.7 kB / 1.235 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.6208, allocations: 12.56 kB / 1.235 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005643/0.6264, allocations: 3.895 MB / 1.238 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.6268, allocations: 0.7474 MB / 1.239 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001708/0.627, allocations: 57.42 kB / 1.239 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.6271, allocations: 79.38 kB / 1.239 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.6271, allocations: 0 / 1.239 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3325/0.9596, allocations: 5.073 MB / 1.244 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.959/9.919, allocations: 1.719 kB / 1.244 GB, free: 9.055 MB / 0.9669 GB (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 --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) 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) Reference file matches