Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [: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 9.1.1-maint.9.1.x/package.mo): time 2.023/2.023, allocations: 387.2 MB / 394.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 169.4 kB / 487 MB, free: 5.348 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.323/1.323, allocations: 221.3 MB / 0.7819 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009082/0.0009082, allocations: 95.75 kB / 0.9213 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.13e-06/5.149e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2619, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7563/1.018, allocations: 150.3 MB / 1.352 GB, free: 16.17 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/1.019, allocations: 88.28 kB / 1.352 GB, free: 16.17 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01051/1.029, allocations: 3.001 MB / 1.355 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.744e-06/1.029, allocations: 1.031 kB / 1.355 GB, free: 15.98 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004457/1.03, allocations: 373.2 kB / 1.355 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/1.03, allocations: 8.812 kB / 1.355 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003235/1.03, allocations: 28.33 kB / 1.355 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/1.03, allocations: 171.7 kB / 1.356 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/1.03, allocations: 1.188 kB / 1.356 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/1.03, allocations: 1.625 kB / 1.356 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001548/1.03, allocations: 46.44 kB / 1.356 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/1.031, allocations: 70.03 kB / 1.356 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/1.031, allocations: 0 / 1.356 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/1.031, allocations: 0.8438 kB / 1.356 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.031, allocations: 0.5938 kB / 1.356 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/1.031, allocations: 294.9 kB / 1.356 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/1.031, allocations: 56.86 kB / 1.356 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.825e-05/1.031, allocations: 26.16 kB / 1.356 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/1.031, allocations: 0.8125 kB / 1.356 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/1.031, allocations: 31.56 kB / 1.356 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/1.031, allocations: 0 / 1.356 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0005681/1.032, allocations: 128.6 kB / 1.356 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/1.032, allocations: 52.19 kB / 1.356 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.647e-05/1.032, allocations: 110.4 kB / 1.356 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/1.032, allocations: 26.73 kB / 1.356 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/1.032, allocations: 82.56 kB / 1.357 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/1.032, allocations: 9.688 kB / 1.357 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/1.032, allocations: 0 / 1.357 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.99e-05/1.032, allocations: 319.4 kB / 1.357 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.357e-05/1.032, allocations: 21.81 kB / 1.357 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.421e-05/1.032, allocations: 20.36 kB / 1.357 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/1.033, allocations: 69.69 kB / 1.357 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.033, allocations: 0.6562 kB / 1.357 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004299/1.033, allocations: 132.6 kB / 1.357 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.033, allocations: 5.062 kB / 1.357 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.033, allocations: 1.828 kB / 1.357 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/1.033, allocations: 3.938 kB / 1.357 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/1.033, allocations: 18.5 kB / 1.357 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/1.033, allocations: 0.8125 kB / 1.357 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.832e-05/1.034, allocations: 12.66 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/1.034, allocations: 3.938 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.089e-05/1.034, allocations: 107 kB / 1.357 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/1.034, allocations: 6.938 kB / 1.357 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.431e-05/1.034, allocations: 17.89 kB / 1.357 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/1.034, allocations: 0 / 1.357 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.034, allocations: 1.031 kB / 1.357 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.034, allocations: 0 / 1.357 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/1.034, allocations: 165.2 kB / 1.357 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.034, allocations: 0.6875 kB / 1.357 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/1.034, allocations: 19.06 kB / 1.357 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/1.034, allocations: 3.984 kB / 1.357 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/1.034, allocations: 7.109 kB / 1.357 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.034, allocations: 0.5938 kB / 1.357 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.034, allocations: 0.7812 kB / 1.357 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005094/1.035, allocations: 226.2 kB / 1.358 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/1.035, allocations: 82.8 kB / 1.358 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/1.035, allocations: 1.125 kB / 1.358 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/1.035, allocations: 17.98 kB / 1.358 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/1.035, allocations: 3.156 kB / 1.358 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/1.035, allocations: 4 kB / 1.358 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.784e-05/1.035, allocations: 88.38 kB / 1.358 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002968/1.035, allocations: 40.55 kB / 1.358 GB, free: 13.74 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002605/1.036, allocations: 126.8 kB / 1.358 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001834/1.036, allocations: 52.48 kB / 1.358 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.036, allocations: 0 / 1.358 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.598e-05/1.036, allocations: 32.3 kB / 1.358 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/1.036, allocations: 6 kB / 1.358 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/1.036, allocations: 89.58 kB / 1.358 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004473/1.037, allocations: 0.7058 MB / 1.359 GB, free: 28.85 MB / 0.823 GB Notification: Performance of SimCode: time 2.7e-07/1.037, allocations: 0 / 1.359 GB, free: 28.85 MB / 0.823 GB Notification: Performance of Templates: time 0.004849/1.042, allocations: 1.241 MB / 1.36 GB, free: 28.73 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches