Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.System5.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.System5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conEquSta.onBoi|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System5") translateModel(Buildings.Examples.Tutorial.CDL.System5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conEquSta.onBoi|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System5") [: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.712/1.712, 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.0009596/0.0009596, allocations: 181.2 kB / 487 MB, free: 5.309 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.061/1.061, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.0008127/0.0008126, allocations: 94.05 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 4.378e-06/4.388e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1616, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.833/2.995, allocations: 2.243 GB / 3.449 GB, free: 48.25 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001852/2.995, allocations: 87.95 kB / 3.449 GB, free: 48.16 MB / 1.151 GB Notification: Performance of FrontEnd: time 10.84/13.83, allocations: 4.46 GB / 7.909 GB, free: 64.43 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.0009234/13.83, allocations: 316.8 kB / 7.909 GB, free: 64.38 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: 1870 * Number of variables: 1870 Notification: Performance of Generate backend data structure: time 0.01623/13.85, allocations: 10.12 MB / 7.919 GB, free: 59.82 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/13.85, allocations: 11.53 kB / 7.919 GB, free: 59.82 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007268/13.86, allocations: 1.911 MB / 7.921 GB, free: 59.11 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0235/13.88, allocations: 13.43 MB / 7.934 GB, free: 57.17 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/13.88, allocations: 232.3 kB / 7.935 GB, free: 57.17 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008085/13.88, allocations: 470.8 kB / 7.935 GB, free: 57.16 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009161/13.89, allocations: 6.382 MB / 7.941 GB, free: 57.13 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009778/13.9, allocations: 7.234 MB / 7.948 GB, free: 56.16 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001468/13.9, allocations: 26.64 kB / 7.948 GB, free: 56.15 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005674/13.9, allocations: 12.94 kB / 7.948 GB, free: 56.15 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001839/13.9, allocations: 314 kB / 7.949 GB, free: 56.13 MB / 1.339 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03836/13.94, allocations: 41.73 MB / 7.989 GB, free: 33.91 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003158/13.94, allocations: 2.643 MB / 7.992 GB, free: 33.86 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002898/13.95, allocations: 2.547 MB / 7.994 GB, free: 33.81 MB / 1.339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01418/13.96, allocations: 9.81 MB / 8.004 GB, free: 30.96 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002992/13.96, allocations: 2.462 MB / 8.006 GB, free: 30.82 MB / 1.339 GB Notification: Performance of pre-optimization done (n=437): time 5.27e-06/13.96, allocations: 0 / 8.006 GB, free: 30.82 MB / 1.339 GB Notification: Performance of matching and sorting (n=442): time 0.02408/13.99, allocations: 11.66 MB / 8.018 GB, free: 28.18 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/13.99, allocations: 334.1 kB / 8.018 GB, free: 27.83 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007829/14, allocations: 6.776 MB / 8.025 GB, free: 27.25 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.0003512/14, allocations: 40.61 kB / 8.025 GB, free: 27.22 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.002676/14, allocations: 3.019 MB / 8.028 GB, free: 25.71 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.002653/14, allocations: 1.464 MB / 8.029 GB, free: 24.75 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/14, allocations: 0 / 8.029 GB, free: 24.75 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0001896/14, allocations: 0.5161 MB / 8.03 GB, free: 24.43 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002497/14, allocations: 1.931 MB / 8.032 GB, free: 24.41 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003102/14.01, allocations: 3.738 MB / 8.035 GB, free: 22.21 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004842/14.01, allocations: 2.763 MB / 8.038 GB, free: 22.01 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/14.01, allocations: 10.38 kB / 8.038 GB, free: 22.01 MB / 1.339 GB Notification: Performance of matching and sorting (n=723) (initialization): time 0.01171/14.02, allocations: 6.956 MB / 8.045 GB, free: 21.06 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.002952/14.03, allocations: 22.23 MB / 8.066 GB, free: 13.52 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.014e-05/14.03, allocations: 39.47 kB / 8.066 GB, free: 13.52 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002095/14.03, allocations: 0.7144 MB / 8.067 GB, free: 13.46 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004521/14.03, allocations: 1.23 MB / 8.068 GB, free: 13.38 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006569/14.04, allocations: 7.271 MB / 8.075 GB, free: 7.879 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007202/14.05, allocations: 0.6446 MB / 8.076 GB, free: 7.746 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004243/14.05, allocations: 271 kB / 8.076 GB, free: 7.746 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 4.759e-06/14.05, allocations: 3.594 kB / 8.076 GB, free: 7.746 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009439/14.06, allocations: 5.668 MB / 8.082 GB, free: 7.285 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-05/14.06, allocations: 36.97 kB / 8.082 GB, free: 7.285 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/14.06, allocations: 0.6874 MB / 8.083 GB, free: 7.219 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004141/14.06, allocations: 1.193 MB / 8.084 GB, free: 7.137 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009652/14.07, allocations: 8.646 MB / 8.092 GB, free: 1.395 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006314/14.08, allocations: 0.5937 MB / 8.093 GB, free: 1.285 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003832/14.08, allocations: 258 kB / 8.093 GB, free: 1.285 MB / 1.354 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 20 ($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 (666): * Single equations (assignments): 658 * 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.0009408/14.08, allocations: 274.9 kB / 8.093 GB, free: 1.066 MB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/14.08, allocations: 0.9034 MB / 8.094 GB, free: 0.5859 MB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/14.09, allocations: 6.173 MB / 8.1 GB, free: 84 kB / 1.354 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.826e-05/14.09, allocations: 54 kB / 8.1 GB, free: 80 kB / 1.354 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/14.09, allocations: 3.125 kB / 8.1 GB, free: 80 kB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007883/14.1, allocations: 4.42 MB / 8.105 GB, free: 15.8 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02233/14.12, allocations: 13.05 MB / 8.117 GB, free: 14.93 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/14.12, allocations: 3.844 kB / 8.117 GB, free: 14.93 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003641/14.13, allocations: 0.8437 MB / 8.118 GB, free: 14.88 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001881/14.13, allocations: 0.6696 MB / 8.119 GB, free: 14.78 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000265/14.13, allocations: 79.28 kB / 8.119 GB, free: 14.78 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008755/14.14, allocations: 12.88 MB / 8.131 GB, free: 3.836 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/14.14, allocations: 0 / 8.131 GB, free: 3.836 MB / 1.37 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0124/14.15, allocations: 8.309 MB / 8.14 GB, free: 2.684 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003953/14.16, allocations: 1.718 MB / 8.141 GB, free: 2.098 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001171/14.16, allocations: 24.5 kB / 8.141 GB, free: 2.098 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004992/14.16, allocations: 0.5998 MB / 8.142 GB, free: 2 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004168/14.16, allocations: 271.8 kB / 8.142 GB, free: 1.996 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004338/14.16, allocations: 207.4 kB / 8.142 GB, free: 1.996 MB / 1.37 GB Notification: Performance of sort global known variables: time 0.006638/14.17, allocations: 5.016 MB / 8.147 GB, free: 1.707 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.01553/14.18, allocations: 4.803 MB / 8.152 GB, free: 116 kB / 1.37 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 30 (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) * Number of discrete variables: 13 ($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 (440): * Single equations (assignments): 417 * 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.008517/14.19, allocations: 6.204 MB / 8.158 GB, free: 10.6 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.01344/14.21, allocations: 9.251 MB / 8.167 GB, free: 4.461 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/14.21, allocations: 10.66 kB / 8.167 GB, free: 4.449 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.004074/14.21, allocations: 3.277 MB / 8.17 GB, free: 2.016 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01536/14.23, allocations: 4.128 MB / 8.174 GB, free: 14.93 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02543/14.25, allocations: 15.38 MB / 8.189 GB, free: 0.9648 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006583/14.26, allocations: 6.3 MB / 8.195 GB, free: 12.5 MB / 1.417 GB Notification: Performance of SimCode: time 4.8e-07/14.26, allocations: 0 / 8.195 GB, free: 12.5 MB / 1.417 GB Notification: Performance of Templates: time 0.7251/14.98, allocations: 219.1 MB / 8.409 GB, free: 200.8 MB / 1.417 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.System5.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System5.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System5.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System5.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System5.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.System5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.System5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.System5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_System5.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches