Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 249.5 MB / 257 MB, free: 6.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 172.9 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.932/1.932, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 92.23 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.66e-05/1.664e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2665, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.489/7.755, allocations: 2.475 GB / 3.36 GB, free: 275.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/7.756, allocations: 91.94 kB / 3.36 GB, free: 275.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.95/10.71, allocations: 0.9001 GB / 4.26 GB, free: 31.59 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.785e-06/10.71, allocations: 4 kB / 4.26 GB, free: 31.59 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0007659/10.71, allocations: 123.9 kB / 4.26 GB, free: 31.47 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.01366/10.72, allocations: 4.257 MB / 4.264 GB, free: 27.15 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/10.72, allocations: 12.03 kB / 4.264 GB, free: 27.14 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008636/10.73, allocations: 1.246 MB / 4.266 GB, free: 25.88 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01392/10.74, allocations: 5.37 MB / 4.271 GB, free: 20.45 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/10.74, allocations: 124 kB / 4.271 GB, free: 20.32 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/10.74, allocations: 212 kB / 4.271 GB, free: 20.12 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008339/10.75, allocations: 4.364 MB / 4.275 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008345/10.76, allocations: 4.462 MB / 4.28 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/10.76, allocations: 11.84 kB / 4.28 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004874/10.76, allocations: 8 kB / 4.28 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/10.76, allocations: 179.1 kB / 4.28 GB, free: 10.93 MB / 0.8698 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.6551/11.42, allocations: 18.55 MB / 4.298 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006052/11.42, allocations: 3.069 MB / 4.301 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002863/11.43, allocations: 1.586 MB / 4.303 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00191/11.43, allocations: 1.869 MB / 4.305 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003991/11.43, allocations: 1.728 MB / 4.306 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=264): time 4.869e-06/11.43, allocations: 2.734 kB / 4.306 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=264): time 0.05944/11.49, allocations: 7.313 MB / 4.313 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/11.49, allocations: 286.6 kB / 4.314 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006744/11.5, allocations: 2.988 MB / 4.317 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009532/11.5, allocations: 32.31 kB / 4.317 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002558/11.5, allocations: 1.972 MB / 4.318 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001561/11.5, allocations: 0.8705 MB / 4.319 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/11.5, allocations: 0 / 4.319 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002309/11.5, allocations: 423.2 kB / 4.32 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002276/11.51, allocations: 1.291 MB / 4.321 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002516/11.51, allocations: 1.967 MB / 4.323 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1497/11.66, allocations: 13.17 MB / 4.336 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.238e-05/11.66, allocations: 3.875 kB / 4.336 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.1519/11.81, allocations: 15.22 MB / 4.351 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00234/11.81, allocations: 7.299 MB / 4.358 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-05/11.81, allocations: 15.78 kB / 4.358 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007555/11.81, allocations: 117 kB / 4.358 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004245/11.82, allocations: 0.8013 MB / 4.359 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/11.82, allocations: 1.501 MB / 4.36 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005096/11.82, allocations: 442 kB / 4.361 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006451/11.83, allocations: 151.1 kB / 4.361 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/11.83, allocations: 7.812 kB / 4.361 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1446/11.97, allocations: 14.85 MB / 4.375 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.134e-05/11.97, allocations: 14.62 kB / 4.375 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005248/11.97, allocations: 113.1 kB / 4.375 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003705/11.97, allocations: 0.8027 MB / 4.376 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/11.98, allocations: 1.511 MB / 4.378 GB, free: 108 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004984/11.98, allocations: 396.5 kB / 4.378 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005917/11.98, allocations: 147.3 kB / 4.378 GB, free: 107.9 MB / 0.8698 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 (371): * Single equations (assignments): 370 * 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.0009636/11.98, allocations: 177.8 kB / 4.378 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001339/11.98, allocations: 350.6 kB / 4.379 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05818/12.04, allocations: 8.044 MB / 4.386 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-05/12.04, allocations: 27.03 kB / 4.387 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/12.04, allocations: 0 / 4.387 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05479/12.1, allocations: 7.254 MB / 4.394 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0671/12.16, allocations: 12.49 MB / 4.406 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/12.16, allocations: 3.906 kB / 4.406 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003316/12.17, allocations: 0.6268 MB / 4.406 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005567/12.17, allocations: 102.2 kB / 4.407 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000336/12.17, allocations: 66.38 kB / 4.407 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/12.17, allocations: 1.501 MB / 4.408 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/12.17, allocations: 6.5 kB / 4.408 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05963/12.23, allocations: 9.916 MB / 4.418 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003127/12.23, allocations: 1.037 MB / 4.419 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009736/12.23, allocations: 19.36 kB / 4.419 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00351/12.24, allocations: 260.1 kB / 4.419 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003067/12.24, allocations: 190.9 kB / 4.419 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000281/12.24, allocations: 129.6 kB / 4.419 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003622/12.24, allocations: 2.297 MB / 4.422 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.092e-06/12.24, allocations: 3.688 kB / 4.422 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.009029/12.25, allocations: 2.323 MB / 4.424 GB, free: 102 MB / 0.8698 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 (283): * Single equations (assignments): 274 * 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.003445/12.25, allocations: 1.634 MB / 4.425 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008939/12.26, allocations: 5.324 MB / 4.431 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/12.26, allocations: 0.5625 kB / 4.431 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002742/12.27, allocations: 1.675 MB / 4.432 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01019/12.28, allocations: 1.744 MB / 4.434 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/12.3, allocations: 7.719 MB / 4.441 GB, free: 99.21 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004414/12.3, allocations: 3.116 MB / 4.445 GB, free: 98.39 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01318/12.31, allocations: 2.733 MB / 4.447 GB, free: 98.11 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002004/12.32, allocations: 310.7 kB / 4.448 GB, free: 98.11 MB / 0.8698 GB Notification: Performance of SimCode: time 1.233e-06/12.32, allocations: 0 / 4.448 GB, free: 98.11 MB / 0.8698 GB Notification: Performance of Templates: time 0.1253/12.44, allocations: 78.66 MB / 4.524 GB, free: 61.23 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches