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.441/1.441, allocations: 249.3 MB / 261.9 MB, free: 5.922 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.001125/0.001125, allocations: 184.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008154/0.0008155, allocations: 90.45 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.391e-05/4.391e-05, allocations: 4 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.251, allocations: 106.3 MB / 0.8918 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.205/7.456, allocations: 2.474 GB / 3.366 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/7.456, allocations: 91.95 kB / 3.366 GB, free: 251.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.694/11.15, allocations: 0.9059 GB / 4.272 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.164e-06/11.15, allocations: 2.312 kB / 4.272 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0007728/11.15, allocations: 130.9 kB / 4.272 GB, free: 122.4 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.01659/11.17, allocations: 4.262 MB / 4.277 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/11.17, allocations: 8.781 kB / 4.277 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009057/11.18, allocations: 1.25 MB / 4.278 GB, free: 121 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/11.19, allocations: 5.36 MB / 4.283 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004042/11.19, allocations: 281 kB / 4.283 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00138/11.19, allocations: 381.3 kB / 4.284 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/11.21, allocations: 4.976 MB / 4.288 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/11.21, allocations: 9.266 kB / 4.288 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005236/11.21, allocations: 164 kB / 4.289 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001473/11.21, allocations: 171.4 kB / 4.289 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/11.22, allocations: 4.643 MB / 4.293 GB, free: 119.9 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.0393/11.26, allocations: 19.27 MB / 4.312 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007171/11.26, allocations: 3.222 MB / 4.315 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003603/11.27, allocations: 1.669 MB / 4.317 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002049/11.27, allocations: 1.864 MB / 4.319 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002885/11.27, allocations: 1.809 MB / 4.321 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=264): time 3.967e-06/11.27, allocations: 0 / 4.321 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=264): time 0.007175/11.28, allocations: 3.119 MB / 4.324 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/11.28, allocations: 296.6 kB / 4.324 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006604/11.29, allocations: 3.439 MB / 4.327 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.00105/11.29, allocations: 79.14 kB / 4.327 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002695/11.29, allocations: 1.974 MB / 4.329 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001964/11.29, allocations: 0.8994 MB / 4.33 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/11.29, allocations: 59.81 kB / 4.33 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002539/11.29, allocations: 430.7 kB / 4.331 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002406/11.3, allocations: 1.346 MB / 4.332 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002785/11.3, allocations: 2.039 MB / 4.334 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002664/11.3, allocations: 1.699 MB / 4.336 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.688e-05/11.3, allocations: 3.906 kB / 4.336 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.007935/11.31, allocations: 3.964 MB / 4.339 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001437/11.31, allocations: 7.403 MB / 4.347 GB, free: 100 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/11.31, allocations: 16.5 kB / 4.347 GB, free: 100 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006149/11.31, allocations: 123.5 kB / 4.347 GB, free: 100 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003875/11.31, allocations: 0.7968 MB / 4.348 GB, free: 100 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/11.32, allocations: 1.561 MB / 4.349 GB, free: 98.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005541/11.32, allocations: 0.5357 MB / 4.35 GB, free: 98.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006465/11.32, allocations: 142.8 kB / 4.35 GB, free: 98.54 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/11.32, allocations: 3.781 kB / 4.35 GB, free: 98.54 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006245/11.33, allocations: 3.627 MB / 4.353 GB, free: 98.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/11.33, allocations: 17.75 kB / 4.353 GB, free: 98.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005163/11.33, allocations: 116.3 kB / 4.353 GB, free: 98.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003471/11.33, allocations: 0.7993 MB / 4.354 GB, free: 98.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/11.33, allocations: 1.571 MB / 4.356 GB, free: 97.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005297/11.34, allocations: 493.1 kB / 4.356 GB, free: 97 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006205/11.34, allocations: 141.5 kB / 4.356 GB, free: 97 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.001114/11.34, allocations: 288.5 kB / 4.357 GB, free: 96.88 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001611/11.34, allocations: 384.3 kB / 4.357 GB, free: 96.69 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00759/11.35, allocations: 3.936 MB / 4.361 GB, free: 96.45 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.66e-05/11.35, allocations: 27.94 kB / 4.361 GB, free: 96.45 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/11.35, allocations: 2.125 kB / 4.361 GB, free: 96.45 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004378/11.36, allocations: 3.066 MB / 4.364 GB, free: 96.09 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01533/11.37, allocations: 8.831 MB / 4.372 GB, free: 95.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/11.37, allocations: 3.656 kB / 4.372 GB, free: 95.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003055/11.37, allocations: 0.6306 MB / 4.373 GB, free: 95.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000495/11.37, allocations: 94.81 kB / 4.373 GB, free: 95.16 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002513/11.37, allocations: 89.5 kB / 4.373 GB, free: 95.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/11.38, allocations: 1.564 MB / 4.375 GB, free: 93.87 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/11.38, allocations: 12.91 kB / 4.375 GB, free: 93.87 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00887/11.39, allocations: 5.826 MB / 4.38 GB, free: 92.74 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003466/11.39, allocations: 1.07 MB / 4.382 GB, free: 92.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001468/11.39, allocations: 70.33 kB / 4.382 GB, free: 92.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004336/11.39, allocations: 316.1 kB / 4.382 GB, free: 92.39 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003893/11.39, allocations: 186.3 kB / 4.382 GB, free: 92.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003375/11.4, allocations: 133.1 kB / 4.382 GB, free: 92.38 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004452/11.4, allocations: 2.7 MB / 4.385 GB, free: 92.22 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.6e-07/11.4, allocations: 0 / 4.385 GB, free: 92.22 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01001/11.41, allocations: 2.434 MB / 4.387 GB, free: 91.84 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.003587/11.41, allocations: 1.622 MB / 4.389 GB, free: 91.51 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.009453/11.42, allocations: 5.595 MB / 4.394 GB, free: 91.19 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.531e-05/11.42, allocations: 4.312 kB / 4.394 GB, free: 91.19 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00267/11.43, allocations: 1.737 MB / 4.396 GB, free: 91.06 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0109/11.44, allocations: 2.016 MB / 4.398 GB, free: 91.01 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01713/11.45, allocations: 7.944 MB / 4.406 GB, free: 89.42 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00261/11.46, allocations: 3.12 MB / 4.409 GB, free: 88.64 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01085/11.47, allocations: 3.01 MB / 4.412 GB, free: 88.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/11.47, allocations: 314.2 kB / 4.412 GB, free: 88.59 MB / 0.8698 GB Notification: Performance of SimCode: time 1.082e-06/11.47, allocations: 0 / 4.412 GB, free: 88.59 MB / 0.8698 GB Notification: Performance of Templates: time 0.1437/11.61, allocations: 98.02 MB / 4.508 GB, free: 64.43 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