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.001041/0.001041, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009565/0.009565, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.508/1.508, allocations: 223.2 MB / 240.3 MB, free: 5.344 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.863/2.863, allocations: 437.8 MB / 0.7121 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003862, allocations: 8 kB / 0.8728 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.669/0.6694, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002387/0.6719, allocations: 1.69 MB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.6731, allocations: 0.6672 MB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.6733, allocations: 4 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.6734, allocations: 11.86 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.543e-05/0.6735, allocations: 19.86 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.6738, allocations: 75.86 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.674, allocations: 143.6 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.6742, allocations: 72.62 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.6743, allocations: 43.72 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.6745, allocations: 59.62 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.6745, allocations: 4 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.6747, allocations: 51.89 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.838e-05/0.6748, allocations: 51.83 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.025e-05/0.6749, allocations: 93.12 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.6752, allocations: 257 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.6752, allocations: 4 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6752, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.6752, allocations: 0 / 1.026 GB, free: 12.59 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.0008137/0.6761, allocations: 0.4948 MB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.6761, allocations: 12.03 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/0.6779, allocations: 439.8 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.6783, allocations: 311.8 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.802e-05/0.6784, allocations: 68.19 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.6785, allocations: 12.38 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008739/0.6793, allocations: 392.5 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.6794, allocations: 4 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.6794, allocations: 4 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.6794, allocations: 4 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.6807, allocations: 0.5502 MB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.6824, allocations: 1.009 MB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007/0.6831, allocations: 298.3 kB / 1.03 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000627/0.6838, allocations: 284.6 kB / 1.03 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.6838, allocations: 0 / 1.03 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.6838, allocations: 34.56 kB / 1.03 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.6838, allocations: 0 / 1.03 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.001967/0.6858, allocations: 0.8055 MB / 1.031 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.6859, allocations: 51.41 kB / 1.031 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.6862, allocations: 302.6 kB / 1.031 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.6862, allocations: 29.64 kB / 1.031 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.947e-05/0.6863, allocations: 156.1 kB / 1.031 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.6864, allocations: 19.66 kB / 1.031 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.6864, allocations: 21.7 kB / 1.031 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6866, allocations: 338.8 kB / 1.032 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/0.6872, allocations: 267.7 kB / 1.032 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005881/0.6878, allocations: 259.8 kB / 1.032 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.6889, allocations: 452.4 kB / 1.033 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6889, allocations: 0 / 1.033 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001276/0.6902, allocations: 0.5439 MB / 1.033 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.6902, allocations: 4 kB / 1.033 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.6902, allocations: 0 / 1.033 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.6902, allocations: 0 / 1.033 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004227/0.6907, allocations: 99.77 kB / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.6907, allocations: 0 / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.691, allocations: 79.78 kB / 1.033 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.6911, allocations: 7.984 kB / 1.033 GB, free: 5.086 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.0001615/0.6912, allocations: 146.3 kB / 1.033 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.6913, allocations: 15.81 kB / 1.033 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/0.6913, allocations: 25.7 kB / 1.033 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.6913, allocations: 4 kB / 1.033 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6914, allocations: 7.984 kB / 1.033 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.6914, allocations: 0 / 1.033 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000479/0.6918, allocations: 440.3 kB / 1.034 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6919, allocations: 0 / 1.034 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.6922, allocations: 95.83 kB / 1.034 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.6922, allocations: 0 / 1.034 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.6923, allocations: 7.984 kB / 1.034 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.6923, allocations: 7.984 kB / 1.034 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6923, allocations: 0 / 1.034 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.6936, allocations: 0.6399 MB / 1.035 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.152e-05/0.6937, allocations: 104.8 kB / 1.035 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.6937, allocations: 8 kB / 1.035 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/0.694, allocations: 71.88 kB / 1.035 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.6941, allocations: 11.92 kB / 1.035 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.6941, allocations: 7.984 kB / 1.035 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002207/0.6943, allocations: 217.9 kB / 1.035 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6944, allocations: 4 kB / 1.035 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003194/0.6947, allocations: 39.91 kB / 1.035 GB, free: 3.16 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.0001729/0.6949, allocations: 107.2 kB / 1.035 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00127/0.6961, allocations: 0.5386 MB / 1.036 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.6962, allocations: 0 / 1.036 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006146/0.6968, allocations: 283.9 kB / 1.036 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.6971, allocations: 20.48 kB / 1.036 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.6984, allocations: 0.6633 MB / 1.037 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.6988, allocations: 0.7477 MB / 1.037 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002146/0.699, allocations: 57.42 kB / 1.037 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.6991, allocations: 31.39 kB / 1.037 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of SimCode: time 6.81e-07/0.6991, allocations: 0 / 1.037 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of Templates: time 0.006534/0.7057, allocations: 2.651 MB / 1.04 GB, free: 14.01 MB / 0.795 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