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: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007746/0.007746, allocations: 99.44 kB / 15.73 MB, free: 6.051 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.001623/0.001623, allocations: 185.1 kB / 16.67 MB, free: 5.961 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.424/1.424, 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.676/2.676, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 72.09 kB / 1.065 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9837/0.9851, allocations: 159.1 MB / 1.221 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003522/0.9886, allocations: 1.966 MB / 1.223 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.99, allocations: 0.6944 MB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.9901, allocations: 4 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.9903, allocations: 19.73 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.738e-05/0.9903, allocations: 31.78 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.9907, allocations: 83.78 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.9909, allocations: 143.7 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.991, allocations: 60.61 kB / 1.224 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.9911, allocations: 71.64 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.9912, allocations: 63.7 kB / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.9913, allocations: 12 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.9914, allocations: 59.95 kB / 1.224 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.9915, allocations: 87.67 kB / 1.224 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.197e-05/0.9916, allocations: 87.41 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.9919, allocations: 267.7 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.992, allocations: 0 / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.353e-06/0.992, allocations: 0 / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.992, allocations: 0 / 1.224 GB, free: 14.57 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.000837/0.9928, allocations: 0.5527 MB / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.9928, allocations: 12.62 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.9946, allocations: 420 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.995, allocations: 315.9 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.143e-05/0.9951, allocations: 76.17 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.9951, allocations: 12.38 kB / 1.226 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008106/0.9959, allocations: 379.3 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.9959, allocations: 0 / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.9959, allocations: 12 kB / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.9959, allocations: 0 / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.9972, allocations: 0.5468 MB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.9989, allocations: 1.002 MB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000665/0.9996, allocations: 290.3 kB / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005975/1, allocations: 268.6 kB / 1.228 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/1, allocations: 4 kB / 1.228 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/1, allocations: 30.56 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/1, allocations: 0 / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.001992/1.002, allocations: 0.7898 MB / 1.229 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/1.002, allocations: 59.39 kB / 1.229 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/1.003, allocations: 290.7 kB / 1.229 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/1.003, allocations: 29.7 kB / 1.229 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.859e-05/1.003, allocations: 152.2 kB / 1.229 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/1.003, allocations: 35.88 kB / 1.229 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.33e-05/1.003, allocations: 37.67 kB / 1.229 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.003, allocations: 330.8 kB / 1.23 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005839/1.004, allocations: 259.8 kB / 1.23 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005729/1.004, allocations: 263.7 kB / 1.23 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/1.005, allocations: 440.4 kB / 1.231 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.005, allocations: 0 / 1.231 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001224/1.006, allocations: 0.5284 MB / 1.231 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.006, allocations: 4 kB / 1.231 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.006, allocations: 0 / 1.231 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/1.007, allocations: 3.938 kB / 1.231 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/1.007, allocations: 91.83 kB / 1.231 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.007, allocations: 7.984 kB / 1.231 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/1.007, allocations: 75.83 kB / 1.231 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/1.007, allocations: 3.984 kB / 1.231 GB, free: 7.094 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.0001577/1.007, allocations: 154.2 kB / 1.231 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/1.007, allocations: 27.8 kB / 1.231 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/1.008, allocations: 25.7 kB / 1.231 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/1.008, allocations: 0 / 1.231 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.008, allocations: 0 / 1.231 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/1.008, allocations: 0 / 1.231 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005349/1.008, allocations: 444.2 kB / 1.232 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.008, allocations: 0 / 1.232 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/1.008, allocations: 91.83 kB / 1.232 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/1.008, allocations: 4 kB / 1.232 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/1.008, allocations: 3.984 kB / 1.232 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.008, allocations: 0 / 1.232 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.008, allocations: 0 / 1.232 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/1.01, allocations: 0.6317 MB / 1.233 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/1.01, allocations: 108.8 kB / 1.233 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/1.01, allocations: 12 kB / 1.233 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/1.01, allocations: 67.86 kB / 1.233 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/1.01, allocations: 11.98 kB / 1.233 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/1.01, allocations: 7.984 kB / 1.233 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000198/1.011, allocations: 221.9 kB / 1.233 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/1.011, allocations: 0 / 1.233 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003321/1.011, allocations: 43.89 kB / 1.233 GB, free: 5.168 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.0001593/1.011, allocations: 107.2 kB / 1.233 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001339/1.012, allocations: 0.5229 MB / 1.234 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.012, allocations: 0 / 1.234 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006376/1.013, allocations: 276.5 kB / 1.234 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/1.013, allocations: 16.5 kB / 1.234 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/1.015, allocations: 0.5907 MB / 1.234 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/1.015, allocations: 0.759 MB / 1.235 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001658/1.015, allocations: 57.41 kB / 1.235 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.694e-05/1.015, allocations: 23.41 kB / 1.235 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of SimCode: time 4.51e-07/1.015, allocations: 0 / 1.235 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of Templates: time 0.006346/1.022, allocations: 2.863 MB / 1.238 GB, free: 15.91 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (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 & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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