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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001218/0.001218, allocations: 176.8 kB / 487.4 MB, free: 5.074 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.585/1.585, allocations: 221.5 MB / 0.7824 GB, free: 1.012 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.001037/0.001037, allocations: 98.78 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.896e-05, allocations: 4 kB / 1.067 GB, free: 185.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3295, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.823/6.153, allocations: 2.24 GB / 3.446 GB, free: 59.11 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/6.153, allocations: 88.52 kB / 3.446 GB, free: 59.07 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 18.27/24.42, allocations: 4.429 GB / 7.875 GB, free: 65.37 MB / 1.339 GB Notification: Performance of FrontEnd: time 1.854e-06/24.42, allocations: 0 / 7.875 GB, free: 65.37 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002055/24.42, allocations: 314.9 kB / 7.876 GB, free: 65.31 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: 1794 * Number of variables: 1794 Notification: Performance of Generate backend data structure: time 0.03281/24.45, allocations: 9.786 MB / 7.885 GB, free: 60.92 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/24.45, allocations: 9.438 kB / 7.885 GB, free: 60.92 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01604/24.47, allocations: 2.361 MB / 7.887 GB, free: 60.21 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04117/24.51, allocations: 13.19 MB / 7.9 GB, free: 58.5 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007136/24.51, allocations: 225.6 kB / 7.901 GB, free: 58.5 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004565/24.52, allocations: 453.9 kB / 7.901 GB, free: 58.5 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0196/24.54, allocations: 6.12 MB / 7.907 GB, free: 58.46 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02458/24.56, allocations: 6.941 MB / 7.914 GB, free: 57.54 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004941/24.56, allocations: 18.12 kB / 7.914 GB, free: 57.54 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002607/24.56, allocations: 10.09 kB / 7.914 GB, free: 57.54 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000327/24.56, allocations: 295.1 kB / 7.914 GB, free: 57.52 MB / 1.339 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0748/24.64, allocations: 39.15 MB / 7.952 GB, free: 37.22 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008382/24.65, allocations: 4.081 MB / 7.956 GB, free: 37.13 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004658/24.65, allocations: 2.407 MB / 7.959 GB, free: 37.08 MB / 1.339 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.03079/24.68, allocations: 10.04 MB / 7.968 GB, free: 34.2 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005405/24.69, allocations: 2.343 MB / 7.971 GB, free: 34.05 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006545/24.69, allocations: 375.5 kB / 7.971 GB, free: 33.86 MB / 1.339 GB Notification: Performance of pre-optimization done (n=412): time 1.517e-05/24.69, allocations: 0 / 7.971 GB, free: 33.86 MB / 1.339 GB Notification: Performance of matching and sorting (n=417): time 0.03853/24.73, allocations: 11.04 MB / 7.982 GB, free: 31.32 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/24.73, allocations: 303.2 kB / 7.982 GB, free: 31 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01735/24.75, allocations: 6.614 MB / 7.989 GB, free: 30.43 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.001458/24.75, allocations: 39.83 kB / 7.989 GB, free: 30.4 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.006188/24.76, allocations: 4.921 MB / 7.993 GB, free: 28.91 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.002341/24.76, allocations: 1.39 MB / 7.995 GB, free: 27.99 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/24.76, allocations: 2.844 kB / 7.995 GB, free: 27.99 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0004861/24.76, allocations: 0.5125 MB / 7.995 GB, free: 27.67 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004/24.77, allocations: 1.841 MB / 7.997 GB, free: 27.65 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004965/24.77, allocations: 3.614 MB / 8.001 GB, free: 25.48 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007092/24.78, allocations: 2.623 MB / 8.003 GB, free: 25.27 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-05/24.78, allocations: 11.16 kB / 8.003 GB, free: 25.27 MB / 1.339 GB Notification: Performance of matching and sorting (n=699) (initialization): time 0.02235/24.8, allocations: 6.831 MB / 8.01 GB, free: 24.29 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.009952/24.81, allocations: 22.24 MB / 8.032 GB, free: 16.6 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002307/24.81, allocations: 39.28 kB / 8.032 GB, free: 16.6 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003602/24.82, allocations: 0.8363 MB / 8.032 GB, free: 16.53 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00588/24.82, allocations: 1.204 MB / 8.034 GB, free: 16.45 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008629/24.83, allocations: 7.251 MB / 8.041 GB, free: 26.96 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01123/24.84, allocations: 0.5993 MB / 8.041 GB, free: 26.84 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001803/24.84, allocations: 270.9 kB / 8.042 GB, free: 26.84 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/24.84, allocations: 3.062 kB / 8.042 GB, free: 26.84 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01652/24.86, allocations: 5.574 MB / 8.047 GB, free: 26.32 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000102/24.86, allocations: 37.31 kB / 8.047 GB, free: 26.32 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002904/24.86, allocations: 0.8055 MB / 8.048 GB, free: 26.25 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005084/24.87, allocations: 1.17 MB / 8.049 GB, free: 26.18 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/24.88, allocations: 8.829 MB / 8.058 GB, free: 20.39 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01048/24.89, allocations: 0.5645 MB / 8.058 GB, free: 20.28 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001599/24.89, allocations: 258.8 kB / 8.058 GB, free: 20.28 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.001852/24.89, allocations: 258.4 kB / 8.059 GB, free: 20.07 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003304/24.9, allocations: 0.8807 MB / 8.059 GB, free: 19.6 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/24.91, allocations: 5.749 MB / 8.065 GB, free: 19.1 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-05/24.91, allocations: 45.64 kB / 8.065 GB, free: 19.1 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/24.91, allocations: 3.562 kB / 8.065 GB, free: 19.1 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007691/24.92, allocations: 4.192 MB / 8.069 GB, free: 18.79 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0319/24.95, allocations: 12.77 MB / 8.082 GB, free: 17.85 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/24.95, allocations: 0 / 8.082 GB, free: 17.85 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003524/24.95, allocations: 0.7997 MB / 8.082 GB, free: 17.81 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/24.95, allocations: 0.654 MB / 8.083 GB, free: 17.72 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004064/24.96, allocations: 77.48 kB / 8.083 GB, free: 17.72 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009952/24.97, allocations: 12.91 MB / 8.096 GB, free: 6.762 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/24.97, allocations: 0 / 8.096 GB, free: 6.762 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01508/24.98, allocations: 7.832 MB / 8.103 GB, free: 5.641 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00718/24.99, allocations: 1.68 MB / 8.105 GB, free: 5.062 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003393/24.99, allocations: 26.86 kB / 8.105 GB, free: 5.059 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008782/25, allocations: 0.5632 MB / 8.106 GB, free: 4.973 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008232/25, allocations: 290.7 kB / 8.106 GB, free: 4.965 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005774/25, allocations: 198.8 kB / 8.106 GB, free: 4.965 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.01045/25.01, allocations: 4.897 MB / 8.111 GB, free: 4.676 MB / 1.37 GB Notification: Performance of sort global known variables: time 3.41e-07/25.01, allocations: 2.406 kB / 8.111 GB, free: 4.676 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.0286/25.04, allocations: 4.804 MB / 8.116 GB, free: 4.441 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 (413): * Single equations (assignments): 390 * 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.01094/25.05, allocations: 6.132 MB / 8.122 GB, free: 1.41 MB / 1.37 GB Notification: Performance of simCode: created initialization part: time 0.02125/25.07, allocations: 8.939 MB / 8.13 GB, free: 200 kB / 1.37 GB Notification: Performance of simCode: created event and clocks part: time 1.786e-05/25.07, allocations: 5.844 kB / 8.13 GB, free: 200 kB / 1.37 GB Notification: Performance of simCode: created simulation system equations: time 0.005366/25.08, allocations: 3.117 MB / 8.133 GB, free: 15.27 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02466/25.1, allocations: 4.302 MB / 8.138 GB, free: 14.99 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03462/25.14, allocations: 14.54 MB / 8.152 GB, free: 6.441 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006865/25.14, allocations: 5.336 MB / 8.157 GB, free: 3.043 MB / 1.385 GB Notification: Performance of simCode: alias equations: time 0.01962/25.16, allocations: 3.687 MB / 8.161 GB, free: 0.5703 MB / 1.385 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002351/25.17, allocations: 0.5444 MB / 8.161 GB, free: 112 kB / 1.385 GB Notification: Performance of SimCode: time 2.355e-06/25.17, allocations: 0 / 8.161 GB, free: 112 kB / 1.385 GB Notification: Performance of Templates: time 1.273/26.44, allocations: 187 MB / 8.344 GB, free: 135.1 MB / 1.417 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