Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.System6.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.System6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conRadSup.yVal|conEquSta.onBoi|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System6") translateModel(Buildings.Examples.Tutorial.CDL.System6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conRadSup.yVal|conEquSta.onBoi|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System6") [: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.725/1.725, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.0009196/0.0009195, allocations: 181.2 kB / 487 MB, free: 5.359 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.069/1.069, allocations: 221.3 MB / 0.7819 GB, free: 1.328 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.000818/0.000818, allocations: 89.89 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.019e-06/5.039e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1624, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.862/3.024, allocations: 2.244 GB / 3.449 GB, free: 53.54 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/3.024, allocations: 94.03 kB / 3.449 GB, free: 53.45 MB / 1.151 GB Notification: Performance of FrontEnd: time 10.86/13.88, allocations: 4.464 GB / 7.913 GB, free: 63.82 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.0009511/13.89, allocations: 326.1 kB / 7.913 GB, free: 63.77 MB / 1.339 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1924 * Number of variables: 1924 Notification: Performance of Generate backend data structure: time 0.01602/13.9, allocations: 10.3 MB / 7.923 GB, free: 59.11 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/13.9, allocations: 6.625 kB / 7.923 GB, free: 59.11 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007158/13.91, allocations: 1.945 MB / 7.925 GB, free: 58.38 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0234/13.93, allocations: 13.53 MB / 7.939 GB, free: 56.42 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/13.93, allocations: 239.7 kB / 7.939 GB, free: 56.42 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008276/13.93, allocations: 482.2 kB / 7.939 GB, free: 56.41 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009254/13.94, allocations: 6.523 MB / 7.946 GB, free: 56.38 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009906/13.95, allocations: 7.409 MB / 7.953 GB, free: 55.4 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001485/13.95, allocations: 28.75 kB / 7.953 GB, free: 55.39 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005626/13.95, allocations: 11.31 kB / 7.953 GB, free: 55.39 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001818/13.95, allocations: 315.1 kB / 7.953 GB, free: 55.37 MB / 1.339 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03901/13.99, allocations: 42.36 MB / 7.995 GB, free: 33 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003352/14, allocations: 2.747 MB / 7.997 GB, free: 32.96 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003061/14, allocations: 2.63 MB / 8 GB, free: 32.9 MB / 1.339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01435/14.01, allocations: 9.957 MB / 8.009 GB, free: 30.04 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003138/14.02, allocations: 2.528 MB / 8.012 GB, free: 29.89 MB / 1.339 GB Notification: Performance of pre-optimization done (n=452): time 4.989e-06/14.02, allocations: 0 / 8.012 GB, free: 29.89 MB / 1.339 GB Notification: Performance of matching and sorting (n=457): time 0.02505/14.04, allocations: 11.89 MB / 8.024 GB, free: 27.21 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/14.04, allocations: 386.9 kB / 8.024 GB, free: 26.8 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009098/14.05, allocations: 6.877 MB / 8.031 GB, free: 26.22 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.0003666/14.05, allocations: 41.7 kB / 8.031 GB, free: 26.19 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.002599/14.05, allocations: 3.081 MB / 8.034 GB, free: 24.66 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.002687/14.06, allocations: 1.507 MB / 8.035 GB, free: 23.65 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/14.06, allocations: 0 / 8.035 GB, free: 23.65 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0002061/14.06, allocations: 0.5239 MB / 8.036 GB, free: 23.34 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002546/14.06, allocations: 1.978 MB / 8.038 GB, free: 23.32 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003158/14.06, allocations: 3.811 MB / 8.041 GB, free: 21.09 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004819/14.07, allocations: 2.813 MB / 8.044 GB, free: 20.88 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/14.07, allocations: 16.41 kB / 8.044 GB, free: 20.87 MB / 1.339 GB Notification: Performance of matching and sorting (n=741) (initialization): time 0.01189/14.08, allocations: 7.082 MB / 8.051 GB, free: 19.9 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.002987/14.08, allocations: 22.49 MB / 8.073 GB, free: 12.22 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.815e-05/14.08, allocations: 38.16 kB / 8.073 GB, free: 12.22 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/14.08, allocations: 0.7118 MB / 8.074 GB, free: 12.16 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004563/14.09, allocations: 1.267 MB / 8.075 GB, free: 12.08 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006513/14.09, allocations: 7.264 MB / 8.082 GB, free: 6.582 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007374/14.1, allocations: 0.6594 MB / 8.083 GB, free: 6.453 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004351/14.1, allocations: 281.2 kB / 8.083 GB, free: 6.453 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 5.009e-06/14.1, allocations: 1.625 kB / 8.083 GB, free: 6.453 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009447/14.11, allocations: 5.775 MB / 8.089 GB, free: 5.98 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-05/14.11, allocations: 41.16 kB / 8.089 GB, free: 5.98 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002019/14.11, allocations: 0.6858 MB / 8.089 GB, free: 5.914 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004117/14.12, allocations: 1.226 MB / 8.09 GB, free: 5.832 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009884/14.13, allocations: 8.644 MB / 8.099 GB, free: 80 kB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006642/14.13, allocations: 0.6105 MB / 8.1 GB, free: 15.96 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004417/14.14, allocations: 260.8 kB / 8.1 GB, free: 15.96 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: 21 ($whenCondition5,$whenCondition4,$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,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y,$PRE.conEquSta.hys.y,conEquSta.hys.y,boiPumCon.u,boiSigCon.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (684): * Single equations (assignments): 676 * 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.001029/14.14, allocations: 279.4 kB / 8.1 GB, free: 15.74 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001348/14.14, allocations: 0.921 MB / 8.101 GB, free: 15.25 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/14.15, allocations: 6.287 MB / 8.107 GB, free: 14.65 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.504e-05/14.15, allocations: 52.58 kB / 8.107 GB, free: 14.65 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/14.15, allocations: 2.625 kB / 8.107 GB, free: 14.65 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00791/14.16, allocations: 4.522 MB / 8.112 GB, free: 14.27 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02383/14.18, allocations: 13.31 MB / 8.125 GB, free: 13.32 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/14.18, allocations: 1.75 kB / 8.125 GB, free: 13.32 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003695/14.19, allocations: 0.8713 MB / 8.125 GB, free: 13.27 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/14.19, allocations: 0.6754 MB / 8.126 GB, free: 13.17 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003116/14.19, allocations: 79.27 kB / 8.126 GB, free: 13.17 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00905/14.2, allocations: 12.88 MB / 8.139 GB, free: 2.223 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/14.2, allocations: 4.781 kB / 8.139 GB, free: 2.219 MB / 1.37 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01213/14.21, allocations: 8.492 MB / 8.147 GB, free: 0.9883 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003653/14.21, allocations: 1.742 MB / 8.149 GB, free: 408 kB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00172/14.21, allocations: 28.61 kB / 8.149 GB, free: 408 kB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005757/14.22, allocations: 0.6155 MB / 8.149 GB, free: 304 kB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004486/14.22, allocations: 281.8 kB / 8.15 GB, free: 300 kB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004669/14.22, allocations: 217.4 kB / 8.15 GB, free: 292 kB / 1.37 GB Notification: Performance of sort global known variables: time 0.008368/14.23, allocations: 5.083 MB / 8.155 GB, free: 0 / 1.37 GB Notification: Performance of remove unused functions: time 0.01708/14.25, allocations: 4.862 MB / 8.16 GB, free: 11.71 MB / 1.385 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 31 (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,conBoiRet.conPID.I.y,conRadSup.conPIDRad.I.y) * Number of discrete variables: 14 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext,conSysSta.onTOut.y,conSysSta.onTRoo.y,conEquSta.hys.y,boiPumCon.u,boiSigCon.u) * Number of discrete states: 7 (timTab.tab.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,conSysSta.onTRoo.y,conEquSta.hys.y,conSysSta.onTOut.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (456): * Single equations (assignments): 433 * 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.007843/14.25, allocations: 6.112 MB / 8.165 GB, free: 6.004 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.01381/14.27, allocations: 9.437 MB / 8.175 GB, free: 14.38 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/14.27, allocations: 6.656 kB / 8.175 GB, free: 14.38 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.004214/14.27, allocations: 3.341 MB / 8.178 GB, free: 11.16 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01651/14.29, allocations: 4.166 MB / 8.182 GB, free: 8.055 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03498/14.32, allocations: 16.39 MB / 8.198 GB, free: 11.24 MB / 1.417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00706/14.33, allocations: 6.345 MB / 8.204 GB, free: 6.617 MB / 1.417 GB Notification: Performance of SimCode: time 4.91e-07/14.33, allocations: 0 / 8.204 GB, free: 6.617 MB / 1.417 GB Notification: Performance of Templates: time 0.7372/15.07, allocations: 221.5 MB / 8.421 GB, free: 200.2 MB / 1.417 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.System6.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System6.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System6.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System6.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System6.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.System6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.System6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.System6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_System6.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches