Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol1.vol.9..T|solCol1.vol.18..T|solCol1.vol.27..T|solCol.m_flow|solCol.m_flow_nominal|solCol1.m_flow|solCol1.m_flow_nominal",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol1.vol.9..T|solCol1.vol.18..T|solCol1.vol.27..T|solCol.m_flow|solCol.m_flow_nominal|solCol1.m_flow|solCol1.m_flow_nominal",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.059/2.059, 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.001041/0.001041, allocations: 180.6 kB / 487.4 MB, free: 5.027 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.362/1.362, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 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.0008942/0.0008943, allocations: 99.77 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.022e-05/2.021e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2444, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.91/5.155, allocations: 2.199 GB / 3.405 GB, free: 102 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/5.155, allocations: 89.45 kB / 3.405 GB, free: 102 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 9.359/14.51, allocations: 2.872 GB / 6.277 GB, free: 150.1 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.623e-06/14.51, allocations: 3.906 kB / 6.277 GB, free: 150.1 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.002028/14.52, allocations: 400.3 kB / 6.278 GB, free: 150 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2975 * Number of variables: 2975 Notification: Performance of Generate backend data structure: time 0.03478/14.55, allocations: 12.19 MB / 6.29 GB, free: 145.5 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/14.55, allocations: 7.812 kB / 6.29 GB, free: 145.5 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03042/14.58, allocations: 3.092 MB / 6.293 GB, free: 144.7 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04915/14.63, allocations: 18.74 MB / 6.311 GB, free: 143 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004803/14.63, allocations: 366.1 kB / 6.311 GB, free: 143 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003757/14.63, allocations: 0.6494 MB / 6.312 GB, free: 143 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02241/14.66, allocations: 12.92 MB / 6.325 GB, free: 143 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03135/14.69, allocations: 14.49 MB / 6.339 GB, free: 141.4 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003422/14.69, allocations: 41.53 kB / 6.339 GB, free: 141.4 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00181/14.69, allocations: 22.06 kB / 6.339 GB, free: 141.4 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000377/14.69, allocations: 0.5725 MB / 6.339 GB, free: 141.3 MB / 1.198 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.08191/14.77, allocations: 61.37 MB / 6.399 GB, free: 119.1 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/14.78, allocations: 9.239 MB / 6.408 GB, free: 118.8 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005198/14.79, allocations: 4.922 MB / 6.413 GB, free: 118.8 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002075/14.79, allocations: 2.385 MB / 6.416 GB, free: 116.3 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006691/14.8, allocations: 5.077 MB / 6.421 GB, free: 116.1 MB / 1.198 GB Notification: Performance of pre-optimization done (n=706): time 9.357e-06/14.8, allocations: 0 / 6.421 GB, free: 116.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=706): time 0.1188/14.92, allocations: 17.73 MB / 6.438 GB, free: 115.4 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/14.92, allocations: 360.9 kB / 6.438 GB, free: 115 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01444/14.93, allocations: 9.615 MB / 6.448 GB, free: 114.4 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001883/14.93, allocations: 38.55 kB / 6.448 GB, free: 114.3 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.005183/14.94, allocations: 6.289 MB / 6.454 GB, free: 112 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.003045/14.94, allocations: 2.36 MB / 6.456 GB, free: 110.4 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005958/14.94, allocations: 0 / 6.456 GB, free: 110.4 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0004182/14.94, allocations: 0.652 MB / 6.457 GB, free: 110.1 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004729/14.95, allocations: 3.993 MB / 6.461 GB, free: 110.1 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005777/14.95, allocations: 6.214 MB / 6.467 GB, free: 106.9 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2961/15.25, allocations: 28.8 MB / 6.495 GB, free: 102.4 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.43e-05/15.25, allocations: 19.31 kB / 6.495 GB, free: 102.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.311/15.56, allocations: 34.83 MB / 6.529 GB, free: 92.75 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.005744/15.57, allocations: 35.81 MB / 6.564 GB, free: 54.95 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001619/15.57, allocations: 64 kB / 6.564 GB, free: 54.88 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007465/15.57, allocations: 198 kB / 6.564 GB, free: 54.71 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01133/15.58, allocations: 2.366 MB / 6.566 GB, free: 52.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/15.58, allocations: 1.607 MB / 6.568 GB, free: 51.28 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01565/15.6, allocations: 1.33 MB / 6.569 GB, free: 50.18 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002377/15.6, allocations: 422.5 kB / 6.57 GB, free: 49.82 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/15.6, allocations: 4 kB / 6.57 GB, free: 49.82 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3116/15.91, allocations: 33.78 MB / 6.603 GB, free: 25.68 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001802/15.91, allocations: 70.72 kB / 6.603 GB, free: 25.62 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006283/15.91, allocations: 198.9 kB / 6.603 GB, free: 25.44 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01119/15.92, allocations: 2.365 MB / 6.605 GB, free: 23.63 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/15.92, allocations: 1.616 MB / 6.607 GB, free: 22.01 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01363/15.94, allocations: 1.152 MB / 6.608 GB, free: 21.08 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002405/15.94, allocations: 427.6 kB / 6.608 GB, free: 20.71 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$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 (1097): * Single equations (assignments): 1096 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004623/15.94, allocations: 334.5 kB / 6.609 GB, free: 20.5 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004887/15.95, allocations: 1.032 MB / 6.61 GB, free: 19.46 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1316/16.08, allocations: 19.25 MB / 6.628 GB, free: 4.402 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.206e-05/16.08, allocations: 68 kB / 6.628 GB, free: 4.336 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/16.08, allocations: 0 / 6.628 GB, free: 4.336 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1255/16.21, allocations: 17.16 MB / 6.645 GB, free: 3.055 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8207/17.03, allocations: 32.78 MB / 6.677 GB, free: 155.8 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.899e-05/17.03, allocations: 12.97 kB / 6.677 GB, free: 155.8 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009151/17.04, allocations: 1.724 MB / 6.679 GB, free: 155.8 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005741/17.04, allocations: 117.9 kB / 6.679 GB, free: 155.8 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009135/17.04, allocations: 165.2 kB / 6.679 GB, free: 155.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/17.04, allocations: 1.534 MB / 6.681 GB, free: 154.6 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.915e-05/17.04, allocations: 16.34 kB / 6.681 GB, free: 154.6 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.131/17.17, allocations: 26.68 MB / 6.707 GB, free: 150.4 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007905/17.18, allocations: 2.965 MB / 6.71 GB, free: 150 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003155/17.18, allocations: 51.03 kB / 6.71 GB, free: 150 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01102/17.19, allocations: 0.7132 MB / 6.71 GB, free: 150 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001212/17.19, allocations: 457 kB / 6.711 GB, free: 149.9 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001208/17.19, allocations: 381 kB / 6.711 GB, free: 149.9 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.01376/17.21, allocations: 7.366 MB / 6.718 GB, free: 149.7 MB / 1.214 GB Notification: Performance of sort global known variables: time 4.51e-07/17.21, allocations: 0 / 6.718 GB, free: 149.7 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.02457/17.23, allocations: 6.91 MB / 6.725 GB, free: 149.1 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 40 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,TOut1.T,TIn1.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (732): * Single equations (assignments): 719 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00467/17.24, allocations: 2.118 MB / 6.727 GB, free: 148.7 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.02046/17.26, allocations: 15.51 MB / 6.742 GB, free: 148.4 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.571e-05/17.26, allocations: 17.67 kB / 6.742 GB, free: 148.4 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.005552/17.26, allocations: 4.449 MB / 6.747 GB, free: 148.2 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02796/17.29, allocations: 5.868 MB / 6.752 GB, free: 148.2 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04184/17.33, allocations: 25.02 MB / 6.777 GB, free: 143.1 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009555/17.34, allocations: 8.749 MB / 6.785 GB, free: 142 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.03481/17.38, allocations: 10.19 MB / 6.795 GB, free: 140.5 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004352/17.38, allocations: 0.8427 MB / 6.796 GB, free: 140.5 MB / 1.214 GB Notification: Performance of SimCode: time 1.052e-06/17.38, allocations: 0 / 6.796 GB, free: 140.5 MB / 1.214 GB Notification: Performance of Templates: time 0.28/17.66, allocations: 219.4 MB / 7.01 GB, free: 48.33 MB / 1.214 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches