Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.System1.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.Examples.Tutorial.CDL.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System1") translateModel(Buildings.Examples.Tutorial.CDL.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System1") [: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 1.694/1.694, allocations: 387.2 MB / 394.5 MB, free: 13.33 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.0009481/0.0009481, allocations: 174.9 kB / 487 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.061/1.061, allocations: 221.3 MB / 0.7819 GB, free: 6.75 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008186/0.0008186, allocations: 92.11 kB / 0.9213 GB, free: 43.67 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 5.089e-06/5.179e-06, allocations: 0 / 1.066 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4517, allocations: 142.3 MB / 1.205 GB, free: 72.77 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.954/3.406, allocations: 2.24 GB / 3.445 GB, free: 315 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/3.406, allocations: 89.39 kB / 3.445 GB, free: 314.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 10.82/14.23, allocations: 4.456 GB / 7.901 GB, free: 45.68 MB / 1.323 GB Notification: Performance of Transformations before backend: time 0.0009745/14.23, allocations: 316.1 kB / 7.901 GB, free: 45.59 MB / 1.323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1794 * Number of variables: 1794 Notification: Performance of Generate backend data structure: time 0.01588/14.25, allocations: 9.827 MB / 7.911 GB, free: 38.22 MB / 1.323 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/14.25, allocations: 11.97 kB / 7.911 GB, free: 38.21 MB / 1.323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007098/14.25, allocations: 1.873 MB / 7.913 GB, free: 36.52 MB / 1.323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02305/14.28, allocations: 13.29 MB / 7.926 GB, free: 24.69 MB / 1.323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/14.28, allocations: 220 kB / 7.926 GB, free: 24.47 MB / 1.323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007566/14.28, allocations: 451.9 kB / 7.926 GB, free: 24.03 MB / 1.323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008604/14.29, allocations: 6.205 MB / 7.933 GB, free: 17.82 MB / 1.323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009144/14.3, allocations: 7.016 MB / 7.939 GB, free: 10.52 MB / 1.323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001411/14.3, allocations: 15.84 kB / 7.939 GB, free: 10.5 MB / 1.323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005513/14.3, allocations: 19.94 kB / 7.939 GB, free: 10.48 MB / 1.323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/14.3, allocations: 297.3 kB / 7.94 GB, free: 10.19 MB / 1.323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04202/14.34, allocations: 41.05 MB / 7.98 GB, free: 14.44 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003539/14.34, allocations: 2.623 MB / 7.982 GB, free: 11.81 MB / 1.37 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003161/14.35, allocations: 2.441 MB / 7.985 GB, free: 9.375 MB / 1.37 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4674/14.81, allocations: 9.756 MB / 7.994 GB, free: 185.1 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002923/14.82, allocations: 2.357 MB / 7.997 GB, free: 185 MB / 1.37 GB Notification: Performance of pre-optimization done (n=412): time 5.159e-06/14.82, allocations: 0 / 7.997 GB, free: 185 MB / 1.37 GB Notification: Performance of matching and sorting (n=417): time 0.02411/14.84, allocations: 11.32 MB / 8.008 GB, free: 183.7 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/14.84, allocations: 303.6 kB / 8.008 GB, free: 183.3 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007734/14.85, allocations: 6.682 MB / 8.014 GB, free: 182.8 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.0003232/14.85, allocations: 36.23 kB / 8.014 GB, free: 182.8 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.002628/14.85, allocations: 2.94 MB / 8.017 GB, free: 181.7 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.00252/14.85, allocations: 1.384 MB / 8.019 GB, free: 181 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/14.85, allocations: 0 / 8.019 GB, free: 181 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0001836/14.85, allocations: 0.5125 MB / 8.019 GB, free: 180.7 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00245/14.86, allocations: 1.868 MB / 8.021 GB, free: 180.7 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002935/14.86, allocations: 3.651 MB / 8.025 GB, free: 178.6 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004759/14.86, allocations: 2.702 MB / 8.027 GB, free: 178.5 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-05/14.86, allocations: 10.69 kB / 8.027 GB, free: 178.5 MB / 1.37 GB Notification: Performance of matching and sorting (n=699) (initialization): time 0.01147/14.88, allocations: 6.801 MB / 8.034 GB, free: 177.8 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.002374/14.88, allocations: 22.16 MB / 8.056 GB, free: 154.3 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/14.88, allocations: 39.78 kB / 8.056 GB, free: 154.3 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002123/14.88, allocations: 0.7289 MB / 8.056 GB, free: 154.3 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004432/14.89, allocations: 1.199 MB / 8.057 GB, free: 154.3 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005825/14.89, allocations: 7.237 MB / 8.064 GB, free: 148.9 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007061/14.9, allocations: 0.5956 MB / 8.065 GB, free: 148.8 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004231/14.9, allocations: 266.8 kB / 8.065 GB, free: 148.8 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 5.07e-06/14.9, allocations: 4.812 kB / 8.065 GB, free: 148.8 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009168/14.91, allocations: 5.534 MB / 8.071 GB, free: 148.6 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/14.91, allocations: 42.89 kB / 8.071 GB, free: 148.6 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002058/14.91, allocations: 0.681 MB / 8.071 GB, free: 148.5 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004007/14.91, allocations: 1.172 MB / 8.073 GB, free: 148.5 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008716/14.92, allocations: 8.603 MB / 8.081 GB, free: 142.9 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00623/14.93, allocations: 0.5518 MB / 8.082 GB, free: 142.9 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003831/14.93, allocations: 256 kB / 8.082 GB, free: 142.9 MB / 1.37 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 179 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,$whenCondition3,$whenCondition2,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (642): * Single equations (assignments): 634 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 4} * Non-linear torn systems: 3 {5 6,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008974/14.93, allocations: 268.2 kB / 8.082 GB, free: 142.8 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/14.93, allocations: 0.8864 MB / 8.083 GB, free: 142.3 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/14.94, allocations: 6.008 MB / 8.089 GB, free: 142 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.193e-05/14.94, allocations: 53.56 kB / 8.089 GB, free: 142 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/14.94, allocations: 3.375 kB / 8.089 GB, free: 142 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006806/14.95, allocations: 4.288 MB / 8.093 GB, free: 141.7 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02023/14.97, allocations: 12.75 MB / 8.105 GB, free: 141 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/14.97, allocations: 1.875 kB / 8.105 GB, free: 141 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003517/14.97, allocations: 0.8065 MB / 8.106 GB, free: 141 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001818/14.97, allocations: 0.6631 MB / 8.107 GB, free: 141 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002645/14.97, allocations: 72.66 kB / 8.107 GB, free: 141 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007269/14.98, allocations: 12.88 MB / 8.12 GB, free: 130.1 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/14.98, allocations: 0 / 8.12 GB, free: 130.1 MB / 1.37 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01138/14.99, allocations: 8.031 MB / 8.127 GB, free: 129.1 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00372/15, allocations: 1.685 MB / 8.129 GB, free: 128.5 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001162/15, allocations: 21.73 kB / 8.129 GB, free: 128.5 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004778/15, allocations: 0.5585 MB / 8.13 GB, free: 128.5 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003532/15, allocations: 237 kB / 8.13 GB, free: 128.5 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003582/15, allocations: 202 kB / 8.13 GB, free: 128.5 MB / 1.37 GB Notification: Performance of sort global known variables: time 0.00614/15.01, allocations: 4.952 MB / 8.135 GB, free: 128.2 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.01418/15.02, allocations: 4.744 MB / 8.139 GB, free: 128.2 MB / 1.37 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 29 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.s[1],pumRad.filter.s[2],mix.vol.dynBal.U,spl.vol.dynBal.U,spl2.vol.dynBal.U,mix2.vol.dynBal.U,spl4.vol.dynBal.U,pumBoi.vol.dynBal.U,pumBoi.filter.s[1],pumBoi.filter.s[2],boi.heaCapDry.T,valRad.vol.dynBal.U,valRad.filter.s[1],valRad.filter.s[2],valBoi.vol.dynBal.U,valBoi.filter.s[1],valBoi.filter.s[2],temRet.T,spl1.vol.dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 4 (timTab.tab.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (415): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {13 22,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007039/15.03, allocations: 6.088 MB / 8.145 GB, free: 126.1 MB / 1.37 GB Notification: Performance of simCode: created initialization part: time 0.01194/15.04, allocations: 8.962 MB / 8.154 GB, free: 125.3 MB / 1.37 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/15.04, allocations: 11.34 kB / 8.154 GB, free: 125.3 MB / 1.37 GB Notification: Performance of simCode: created simulation system equations: time 0.003581/15.05, allocations: 3.126 MB / 8.157 GB, free: 124.5 MB / 1.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0156/15.06, allocations: 4.097 MB / 8.161 GB, free: 124.4 MB / 1.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02362/15.09, allocations: 14.98 MB / 8.176 GB, free: 121.2 MB / 1.37 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005644/15.09, allocations: 6.115 MB / 8.182 GB, free: 120.3 MB / 1.37 GB Notification: Performance of SimCode: time 4.81e-07/15.09, allocations: 0 / 8.182 GB, free: 120.3 MB / 1.37 GB Notification: Performance of Templates: time 0.2754/15.37, allocations: 215.2 MB / 8.392 GB, free: 106.5 MB / 1.37 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.System1.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System1.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_System1.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches