Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.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_9_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_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.087/2.087, 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.001309/0.001309, allocations: 184.9 kB / 487.4 MB, free: 5.039 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.39/1.39, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 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.0008077/0.0008076, allocations: 91.95 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.706e-05/1.707e-05, allocations: 1.953 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2395, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.808/5.048, allocations: 2.199 GB / 3.405 GB, free: 123.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/5.048, allocations: 87.95 kB / 3.405 GB, free: 123.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.873/7.921, allocations: 0.9377 GB / 4.343 GB, free: 75.98 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.268e-06/7.921, allocations: 0 / 4.343 GB, free: 75.98 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004837/7.921, allocations: 131.8 kB / 4.343 GB, free: 75.85 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.01002/7.931, allocations: 4.336 MB / 4.347 GB, free: 71.45 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/7.931, allocations: 8.031 kB / 4.347 GB, free: 71.45 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007704/7.939, allocations: 1.293 MB / 4.348 GB, free: 70.14 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01178/7.951, allocations: 5.539 MB / 4.354 GB, free: 64.54 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/7.951, allocations: 120 kB / 4.354 GB, free: 64.42 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001405/7.952, allocations: 220 kB / 4.354 GB, free: 64.21 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00735/7.96, allocations: 4.403 MB / 4.358 GB, free: 59.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007016/7.967, allocations: 4.551 MB / 4.363 GB, free: 55.09 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-05/7.967, allocations: 11.84 kB / 4.363 GB, free: 55.08 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003948/7.967, allocations: 4 kB / 4.363 GB, free: 55.08 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/7.968, allocations: 179.3 kB / 4.363 GB, free: 54.9 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.02413/7.992, allocations: 18.74 MB / 4.381 GB, free: 35.58 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003459/7.995, allocations: 3.068 MB / 4.384 GB, free: 32.51 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/7.997, allocations: 1.595 MB / 4.386 GB, free: 30.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/7.998, allocations: 1.868 MB / 4.388 GB, free: 28.64 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002109/8, allocations: 1.777 MB / 4.39 GB, free: 26.82 MB / 1.151 GB Notification: Performance of pre-optimization done (n=265): time 3.667e-06/8, allocations: 0 / 4.39 GB, free: 26.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=265): time 0.05499/8.055, allocations: 7.415 MB / 4.397 GB, free: 19.34 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/8.055, allocations: 287.1 kB / 4.397 GB, free: 19 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003623/8.059, allocations: 3.021 MB / 4.4 GB, free: 15.98 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003396/8.059, allocations: 25.7 kB / 4.4 GB, free: 15.95 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001335/8.061, allocations: 2.012 MB / 4.402 GB, free: 13.91 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006574/8.061, allocations: 0.8699 MB / 4.403 GB, free: 13.03 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/8.062, allocations: 0 / 4.403 GB, free: 13.03 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001125/8.062, allocations: 424 kB / 4.403 GB, free: 12.61 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/8.063, allocations: 1.302 MB / 4.405 GB, free: 11.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/8.065, allocations: 1.969 MB / 4.406 GB, free: 9.062 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7493/8.814, allocations: 13.24 MB / 4.419 GB, free: 226.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.101e-05/8.814, allocations: 6.094 kB / 4.419 GB, free: 226.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.15/8.964, allocations: 15.31 MB / 4.434 GB, free: 226.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001354/8.966, allocations: 7.316 MB / 4.441 GB, free: 218.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/8.966, allocations: 17.34 kB / 4.441 GB, free: 218.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006094/8.966, allocations: 111 kB / 4.442 GB, free: 218.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003784/8.97, allocations: 0.8085 MB / 4.442 GB, free: 218.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/8.972, allocations: 1.498 MB / 4.444 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/8.976, allocations: 456 kB / 4.444 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000565/8.977, allocations: 148.6 kB / 4.444 GB, free: 217.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/8.977, allocations: 9.828 kB / 4.444 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1488/9.126, allocations: 14.94 MB / 4.459 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.746e-05/9.126, allocations: 16.19 kB / 4.459 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005245/9.126, allocations: 119.4 kB / 4.459 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003678/9.13, allocations: 0.8073 MB / 4.46 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/9.131, allocations: 1.509 MB / 4.461 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004216/9.136, allocations: 408 kB / 4.462 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004064/9.136, allocations: 146.9 kB / 4.462 GB, free: 215.8 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.0007435/9.137, allocations: 178.6 kB / 4.462 GB, free: 215.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009683/9.138, allocations: 365.6 kB / 4.462 GB, free: 215.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05675/9.195, allocations: 8.141 MB / 4.47 GB, free: 214.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.532e-05/9.195, allocations: 25.69 kB / 4.47 GB, free: 214.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/9.195, allocations: 3.953 kB / 4.47 GB, free: 214.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05467/9.249, allocations: 7.348 MB / 4.478 GB, free: 214.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06276/9.312, allocations: 12.66 MB / 4.49 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/9.312, allocations: 3.75 kB / 4.49 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003009/9.315, allocations: 0.6404 MB / 4.491 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004678/9.316, allocations: 103.4 kB / 4.491 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002076/9.316, allocations: 60.02 kB / 4.491 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/9.317, allocations: 1.502 MB / 4.492 GB, free: 211.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/9.317, allocations: 10.31 kB / 4.492 GB, free: 211.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06343/9.381, allocations: 10.05 MB / 4.502 GB, free: 210.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003718/9.384, allocations: 1.062 MB / 4.503 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001254/9.386, allocations: 23.28 kB / 4.503 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006108/9.392, allocations: 266 kB / 4.503 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004435/9.392, allocations: 183.4 kB / 4.504 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004834/9.393, allocations: 133.8 kB / 4.504 GB, free: 210.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.005348/9.398, allocations: 2.335 MB / 4.506 GB, free: 210.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.563e-06/9.398, allocations: 0 / 4.506 GB, free: 210.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01175/9.41, allocations: 2.375 MB / 4.508 GB, free: 209.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.004999/9.415, allocations: 1.691 MB / 4.51 GB, free: 209.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008649/9.424, allocations: 5.349 MB / 4.515 GB, free: 209.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/9.424, allocations: 4.656 kB / 4.515 GB, free: 209.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002162/9.426, allocations: 1.689 MB / 4.517 GB, free: 209.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008305/9.434, allocations: 1.744 MB / 4.518 GB, free: 209.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/9.446, allocations: 7.81 MB / 4.526 GB, free: 207.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00208/9.448, allocations: 3.151 MB / 4.529 GB, free: 206.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.009305/9.458, allocations: 2.893 MB / 4.532 GB, free: 206 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009085/9.459, allocations: 310 kB / 4.532 GB, free: 206 MB / 1.151 GB Notification: Performance of SimCode: time 1.403e-06/9.459, allocations: 0 / 4.532 GB, free: 206 MB / 1.151 GB Notification: Performance of Templates: time 0.1091/9.568, allocations: 79.9 MB / 4.61 GB, free: 200.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches