Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001495/0.001494, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001708/0.001708, allocations: 193.1 kB / 16.25 MB, free: 6.637 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.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 437 MB / 0.71 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 63.91 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6826/0.6841, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.004477/0.6886, allocations: 2.039 MB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.6899, allocations: 0.6787 MB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.6901, allocations: 4 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.6902, allocations: 11.86 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.088e-05/0.6903, allocations: 15.81 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.6907, allocations: 79.92 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000204/0.6909, allocations: 147.6 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.6911, allocations: 84.55 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.6912, allocations: 67.77 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.6913, allocations: 67.62 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.6914, allocations: 16 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.6915, allocations: 63.89 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.411e-05/0.6916, allocations: 63.81 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.017e-05/0.6917, allocations: 99.39 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.692, allocations: 257 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.692, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.034e-06/0.692, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.6921, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 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.0008301/0.6929, allocations: 0.5355 MB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.6929, allocations: 12.03 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.6947, allocations: 427.8 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.6952, allocations: 307.8 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.698e-05/0.6953, allocations: 68.19 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.6953, allocations: 12.38 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008559/0.6962, allocations: 388.4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.6962, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.6962, allocations: 4 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.6962, allocations: 4 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.6975, allocations: 0.5463 MB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.6992, allocations: 0.9976 MB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006815/0.6999, allocations: 294.3 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006138/0.7005, allocations: 268.6 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.7006, allocations: 3.984 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.7006, allocations: 34.56 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.7006, allocations: 4 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.001965/0.7026, allocations: 0.7898 MB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.7026, allocations: 55.41 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.7029, allocations: 294.7 kB / 1.025 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.703, allocations: 33.7 kB / 1.025 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.419e-05/0.7031, allocations: 152.1 kB / 1.025 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.7031, allocations: 23.66 kB / 1.025 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.666e-05/0.7032, allocations: 37.61 kB / 1.026 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7034, allocations: 338.8 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006037/0.704, allocations: 259.8 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005947/0.7046, allocations: 255.8 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.7056, allocations: 444.4 kB / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.7057, allocations: 7.938 kB / 1.027 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001277/0.7069, allocations: 0.5321 MB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.707, allocations: 4 kB / 1.027 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.707, allocations: 0 / 1.027 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.707, allocations: 4 kB / 1.027 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.7074, allocations: 91.83 kB / 1.027 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.7074, allocations: 0 / 1.027 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.7077, allocations: 71.86 kB / 1.027 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.7078, allocations: 15.98 kB / 1.027 GB, free: 7.551 MB / 0.7794 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.0001491/0.7079, allocations: 138.3 kB / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.708, allocations: 19.72 kB / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.389e-05/0.708, allocations: 25.7 kB / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.7081, allocations: 0 / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.7081, allocations: 0 / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.7081, allocations: 0 / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004622/0.7085, allocations: 440.4 kB / 1.028 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.7086, allocations: 15.92 kB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000396/0.709, allocations: 91.83 kB / 1.028 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.709, allocations: 0 / 1.028 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.709, allocations: 7.984 kB / 1.028 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.709, allocations: 0 / 1.028 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.709, allocations: 0 / 1.028 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.7104, allocations: 0.6315 MB / 1.029 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.7104, allocations: 104.8 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.7105, allocations: 4 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.7108, allocations: 75.84 kB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.7109, allocations: 4 kB / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.7109, allocations: 11.98 kB / 1.029 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002164/0.7112, allocations: 225.9 kB / 1.029 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7112, allocations: 3.938 kB / 1.029 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003028/0.7115, allocations: 35.91 kB / 1.029 GB, free: 5.645 MB / 0.7794 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.0001705/0.7117, allocations: 103.2 kB / 1.029 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00132/0.713, allocations: 0.5229 MB / 1.03 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.713, allocations: 0 / 1.03 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006445/0.7136, allocations: 287.7 kB / 1.03 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.714, allocations: 17.44 kB / 1.03 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.7152, allocations: 0.6613 MB / 1.031 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.7155, allocations: 0.7474 MB / 1.031 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002106/0.7157, allocations: 53.42 kB / 1.032 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.7158, allocations: 31.39 kB / 1.032 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7158, allocations: 0 / 1.032 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of Templates: time 0.005842/0.7216, allocations: 2.761 MB / 1.034 GB, free: 424 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches