Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|shaCoe.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|shaCoe.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.476/2.476, allocations: 390.5 MB / 398 MB, free: 11.01 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.001262/0.001262, allocations: 176.8 kB / 491.2 MB, free: 1.617 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.664/1.664, allocations: 221.5 MB / 0.7868 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 83.97 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.827e-05/1.841e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3515, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.654/7.006, allocations: 2.199 GB / 3.412 GB, free: 100.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/7.006, allocations: 88.58 kB / 3.412 GB, free: 100.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.31/10.32, allocations: 0.9378 GB / 4.349 GB, free: 46.92 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.295e-06/10.32, allocations: 4 kB / 4.349 GB, free: 46.92 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0007667/10.32, allocations: 127.9 kB / 4.349 GB, free: 46.79 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 985 * Number of variables: 985 Notification: Performance of Generate backend data structure: time 0.01416/10.33, allocations: 4.34 MB / 4.354 GB, free: 42.39 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/10.33, allocations: 15.97 kB / 4.354 GB, free: 42.38 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0087/10.34, allocations: 1.281 MB / 4.355 GB, free: 41.09 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01344/10.35, allocations: 5.535 MB / 4.36 GB, free: 35.48 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/10.35, allocations: 120 kB / 4.361 GB, free: 35.37 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001393/10.35, allocations: 223.9 kB / 4.361 GB, free: 35.15 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008763/10.36, allocations: 4.403 MB / 4.365 GB, free: 30.74 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009153/10.37, allocations: 4.562 MB / 4.369 GB, free: 26.02 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.88e-05/10.37, allocations: 11.92 kB / 4.369 GB, free: 26.01 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005033/10.37, allocations: 8 kB / 4.37 GB, free: 26 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001318/10.37, allocations: 171.4 kB / 4.37 GB, free: 25.83 MB / 1.151 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.03079/10.4, allocations: 18.74 MB / 4.388 GB, free: 6.504 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004075/10.41, allocations: 3.083 MB / 4.391 GB, free: 3.414 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001866/10.41, allocations: 1.591 MB / 4.393 GB, free: 1.816 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7698/11.18, allocations: 1.866 MB / 4.394 GB, free: 223.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003988/11.18, allocations: 1.767 MB / 4.396 GB, free: 223.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=265): time 4.258e-06/11.18, allocations: 0 / 4.396 GB, free: 223.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=265): time 0.0606/11.24, allocations: 7.409 MB / 4.403 GB, free: 223.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/11.24, allocations: 290.1 kB / 4.404 GB, free: 222.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005927/11.25, allocations: 3.017 MB / 4.407 GB, free: 222.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.00052/11.25, allocations: 29.7 kB / 4.407 GB, free: 222.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002354/11.25, allocations: 2.011 MB / 4.409 GB, free: 222.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001034/11.25, allocations: 0.8717 MB / 4.409 GB, free: 221.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/11.25, allocations: 0 / 4.409 GB, free: 221.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001777/11.25, allocations: 421.5 kB / 4.41 GB, free: 221.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002294/11.26, allocations: 1.301 MB / 4.411 GB, free: 221.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002621/11.26, allocations: 1.962 MB / 4.413 GB, free: 220.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1548/11.41, allocations: 13.26 MB / 4.426 GB, free: 220.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-05/11.41, allocations: 8.281 kB / 4.426 GB, free: 220.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.1581/11.57, allocations: 15.32 MB / 4.441 GB, free: 220.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.002576/11.58, allocations: 7.301 MB / 4.448 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.79e-05/11.58, allocations: 14.56 kB / 4.448 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006687/11.58, allocations: 114.2 kB / 4.448 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004673/11.58, allocations: 0.8134 MB / 4.449 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/11.58, allocations: 1.508 MB / 4.45 GB, free: 211.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005552/11.59, allocations: 455.9 kB / 4.451 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008055/11.59, allocations: 144.5 kB / 4.451 GB, free: 211.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/11.59, allocations: 7.938 kB / 4.451 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1528/11.74, allocations: 14.93 MB / 4.466 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.585e-05/11.74, allocations: 18.69 kB / 4.466 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005286/11.74, allocations: 112.7 kB / 4.466 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003935/11.75, allocations: 0.8184 MB / 4.466 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/11.75, allocations: 1.504 MB / 4.468 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00527/11.75, allocations: 406.4 kB / 4.468 GB, free: 208.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006829/11.75, allocations: 146.3 kB / 4.468 GB, free: 208.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (372): * Single equations (assignments): 371 * 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.001032/11.76, allocations: 184.9 kB / 4.469 GB, free: 208.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001422/11.76, allocations: 357.9 kB / 4.469 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06008/11.82, allocations: 8.138 MB / 4.477 GB, free: 208 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/11.82, allocations: 29.81 kB / 4.477 GB, free: 208 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/11.82, allocations: 7.953 kB / 4.477 GB, free: 208 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0578/11.87, allocations: 7.342 MB / 4.484 GB, free: 207.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06843/11.94, allocations: 12.66 MB / 4.497 GB, free: 206.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/11.94, allocations: 3.656 kB / 4.497 GB, free: 206.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003173/11.95, allocations: 0.6457 MB / 4.497 GB, free: 206.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004835/11.95, allocations: 90.69 kB / 4.497 GB, free: 206.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002503/11.95, allocations: 63.67 kB / 4.497 GB, free: 206.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/11.95, allocations: 1.503 MB / 4.499 GB, free: 205 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/11.95, allocations: 6.531 kB / 4.499 GB, free: 205 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06101/12.01, allocations: 10.06 MB / 4.509 GB, free: 203.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003434/12.01, allocations: 1.061 MB / 4.51 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009744/12.01, allocations: 14.08 kB / 4.51 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003577/12.02, allocations: 266.8 kB / 4.51 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003294/12.02, allocations: 189.2 kB / 4.51 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003023/12.02, allocations: 136.4 kB / 4.51 GB, free: 203.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003473/12.02, allocations: 2.324 MB / 4.512 GB, free: 203.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.41e-07/12.02, allocations: 3.281 kB / 4.512 GB, free: 203.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007793/12.03, allocations: 2.375 MB / 4.515 GB, free: 202.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 11 (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) * 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 (285): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003225/12.03, allocations: 1.681 MB / 4.516 GB, free: 202.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008549/12.04, allocations: 5.356 MB / 4.522 GB, free: 202.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/12.04, allocations: 6.906 kB / 4.522 GB, free: 202.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002493/12.04, allocations: 1.688 MB / 4.523 GB, free: 202.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009554/12.05, allocations: 1.745 MB / 4.525 GB, free: 202.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/12.07, allocations: 7.804 MB / 4.533 GB, free: 200.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002643/12.07, allocations: 3.162 MB / 4.536 GB, free: 199.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01032/12.08, allocations: 2.887 MB / 4.539 GB, free: 199.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/12.08, allocations: 311.5 kB / 4.539 GB, free: 199.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.082e-06/12.08, allocations: 0 / 4.539 GB, free: 199.1 MB / 1.151 GB Notification: Performance of Templates: time 0.1262/12.21, allocations: 79.96 MB / 4.617 GB, free: 179.5 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches