Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.918/1.918, allocations: 390.4 MB / 397.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 189.2 kB / 490.8 MB, free: 11.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 221.4 MB / 0.7863 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009905/0.0009905, allocations: 95.2 kB / 0.9264 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 9.358e-06/9.729e-06, allocations: 4 kB / 1.072 GB, free: 15.58 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7466/0.7466, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.9108, allocations: 152 MB / 1.36 GB, free: 39.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.9111, allocations: 87.94 kB / 1.36 GB, free: 39.51 MB / 0.8855 GB Notification: Performance of FrontEnd: time 0.007296/0.9184, allocations: 2.729 MB / 1.363 GB, free: 36.83 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.9184, allocations: 4 kB / 1.363 GB, free: 36.82 MB / 0.8855 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.00044/0.9189, allocations: 482 kB / 1.363 GB, free: 36.31 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.9189, allocations: 8.875 kB / 1.363 GB, free: 36.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.9203, allocations: 213.3 kB / 1.363 GB, free: 36.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.9207, allocations: 318.6 kB / 1.364 GB, free: 35.75 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.677e-05/0.9208, allocations: 75.55 kB / 1.364 GB, free: 35.67 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.9208, allocations: 8.656 kB / 1.364 GB, free: 35.66 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000442/0.9213, allocations: 380.8 kB / 1.364 GB, free: 35.29 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.9216, allocations: 291.6 kB / 1.364 GB, free: 35 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.9216, allocations: 0 / 1.364 GB, free: 35 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.9217, allocations: 1.062 kB / 1.364 GB, free: 35 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.9217, allocations: 4 kB / 1.364 GB, free: 35 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.9231, allocations: 0.8847 MB / 1.365 GB, free: 34.07 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.9233, allocations: 214.5 kB / 1.366 GB, free: 33.85 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.9235, allocations: 189.4 kB / 1.366 GB, free: 33.66 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.9235, allocations: 0 / 1.366 GB, free: 33.66 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.9236, allocations: 39.36 kB / 1.366 GB, free: 33.62 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.9236, allocations: 3.656 kB / 1.366 GB, free: 33.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0007893/0.9244, allocations: 397.1 kB / 1.366 GB, free: 33.22 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.9244, allocations: 52 kB / 1.366 GB, free: 33.16 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.9246, allocations: 254.1 kB / 1.366 GB, free: 32.91 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.9246, allocations: 29.7 kB / 1.366 GB, free: 32.88 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.9247, allocations: 128 kB / 1.367 GB, free: 32.75 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.9247, allocations: 24.66 kB / 1.367 GB, free: 32.72 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/0.9247, allocations: 0 / 1.367 GB, free: 32.72 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.53e-05/0.9248, allocations: 331.6 kB / 1.367 GB, free: 32.39 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.925, allocations: 175.9 kB / 1.367 GB, free: 32.22 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.9252, allocations: 184.1 kB / 1.367 GB, free: 32.04 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/0.9256, allocations: 144.6 kB / 1.367 GB, free: 31.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.9256, allocations: 0 / 1.367 GB, free: 31.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006967/0.9263, allocations: 401.8 kB / 1.368 GB, free: 31.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.9263, allocations: 4 kB / 1.368 GB, free: 31.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.9263, allocations: 4.562 kB / 1.368 GB, free: 31.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.9263, allocations: 0.6875 kB / 1.368 GB, free: 31.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.9267, allocations: 64.34 kB / 1.368 GB, free: 31.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.9267, allocations: 0.5625 kB / 1.368 GB, free: 31.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.927, allocations: 38.66 kB / 1.368 GB, free: 31.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.927, allocations: 29.31 kB / 1.368 GB, free: 31.38 MB / 0.8855 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 (norQSta.canFreeze) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.996e-05/0.9271, allocations: 105 kB / 1.368 GB, free: 31.27 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.9272, allocations: 23.72 kB / 1.368 GB, free: 31.24 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.043e-05/0.9272, allocations: 22.2 kB / 1.368 GB, free: 31.22 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.9272, allocations: 0.5 kB / 1.368 GB, free: 31.22 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.9272, allocations: 0.5312 kB / 1.368 GB, free: 31.22 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.9272, allocations: 2.281 kB / 1.368 GB, free: 31.22 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.9276, allocations: 404.5 kB / 1.368 GB, free: 30.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.9276, allocations: 0.5312 kB / 1.368 GB, free: 30.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/0.9279, allocations: 66.88 kB / 1.369 GB, free: 30.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.9279, allocations: 0 / 1.369 GB, free: 30.73 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.928, allocations: 12.64 kB / 1.369 GB, free: 30.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.928, allocations: 0 / 1.369 GB, free: 30.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.928, allocations: 0.5312 kB / 1.369 GB, free: 30.72 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007149/0.9287, allocations: 499 kB / 1.369 GB, free: 30.22 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.9288, allocations: 96.83 kB / 1.369 GB, free: 30.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.9288, allocations: 1.312 kB / 1.369 GB, free: 30.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.9291, allocations: 38.05 kB / 1.369 GB, free: 30.07 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.9292, allocations: 12.77 kB / 1.369 GB, free: 30.06 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.9292, allocations: 19.98 kB / 1.369 GB, free: 30.04 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0001317/0.9293, allocations: 202.1 kB / 1.369 GB, free: 29.84 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002799/0.9296, allocations: 47.89 kB / 1.369 GB, free: 29.8 MB / 0.8855 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 (norQSta.canFreeze) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001553/0.9298, allocations: 108.6 kB / 1.37 GB, free: 29.68 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000425/0.9302, allocations: 427.8 kB / 1.37 GB, free: 29.26 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.9302, allocations: 0.75 kB / 1.37 GB, free: 29.26 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.9304, allocations: 223.8 kB / 1.37 GB, free: 29.05 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.9306, allocations: 11.56 kB / 1.37 GB, free: 29.04 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006865/0.9313, allocations: 448.8 kB / 1.371 GB, free: 28.58 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/0.9317, allocations: 0.7914 MB / 1.371 GB, free: 27.76 MB / 0.8855 GB Notification: Performance of SimCode: time 3.01e-07/0.9317, allocations: 4.656 kB / 1.371 GB, free: 27.76 MB / 0.8855 GB Notification: Performance of Templates: time 0.005329/0.937, allocations: 3.327 MB / 1.375 GB, free: 24.49 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches