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.228/2.228, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001159/0.001159, allocations: 184.9 kB / 492.3 MB, free: 0.5938 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.563/1.563, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001033/0.001033, allocations: 88.61 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.627e-05/3.63e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3151, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.513/6.828, allocations: 2.2 GB / 3.412 GB, free: 76.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/6.828, allocations: 90.39 kB / 3.412 GB, free: 76.65 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.625/10.45, allocations: 0.9428 GB / 4.355 GB, free: 22.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.763e-06/10.45, allocations: 0 / 4.355 GB, free: 22.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000777/10.45, allocations: 131.9 kB / 4.355 GB, free: 22.38 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.01475/10.47, allocations: 4.34 MB / 4.359 GB, free: 17.97 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/10.47, allocations: 12.03 kB / 4.359 GB, free: 17.96 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009343/10.48, allocations: 1.285 MB / 4.361 GB, free: 16.67 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.017/10.5, allocations: 5.539 MB / 4.366 GB, free: 11.06 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000411/10.5, allocations: 287.5 kB / 4.366 GB, free: 10.78 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002618/10.5, allocations: 379.9 kB / 4.367 GB, free: 10.41 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0185/10.52, allocations: 5.086 MB / 4.372 GB, free: 5.164 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002898/10.52, allocations: 11.84 kB / 4.372 GB, free: 5.152 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001729/10.52, allocations: 172 kB / 4.372 GB, free: 4.984 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001884/10.52, allocations: 175.3 kB / 4.372 GB, free: 4.812 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/10.53, allocations: 4.682 MB / 4.377 GB, free: 128 kB / 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.9061/11.44, allocations: 19.47 MB / 4.396 GB, free: 213.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006326/11.44, allocations: 3.212 MB / 4.399 GB, free: 213.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003081/11.45, allocations: 1.676 MB / 4.4 GB, free: 213.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001989/11.45, allocations: 1.862 MB / 4.402 GB, free: 211.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004162/11.45, allocations: 1.851 MB / 4.404 GB, free: 211.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=265): time 7.234e-06/11.45, allocations: 3.844 kB / 4.404 GB, free: 211.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=265): time 0.008598/11.46, allocations: 3.151 MB / 4.407 GB, free: 210.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/11.46, allocations: 293.9 kB / 4.407 GB, free: 210.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008727/11.47, allocations: 3.509 MB / 4.411 GB, free: 210.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0012/11.47, allocations: 81.73 kB / 4.411 GB, free: 210.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002524/11.47, allocations: 1.998 MB / 4.413 GB, free: 209.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001959/11.48, allocations: 0.9002 MB / 4.414 GB, free: 209.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/11.48, allocations: 60.56 kB / 4.414 GB, free: 209.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002836/11.48, allocations: 425.8 kB / 4.414 GB, free: 209 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/11.48, allocations: 1.354 MB / 4.415 GB, free: 209 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003022/11.48, allocations: 2.042 MB / 4.417 GB, free: 208.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003421/11.49, allocations: 1.711 MB / 4.419 GB, free: 208.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.447e-05/11.49, allocations: 6.719 kB / 4.419 GB, free: 208.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.009796/11.5, allocations: 3.987 MB / 4.423 GB, free: 207.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001673/11.5, allocations: 7.442 MB / 4.43 GB, free: 200.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.552e-05/11.5, allocations: 15.22 kB / 4.43 GB, free: 200.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006421/11.5, allocations: 117.3 kB / 4.43 GB, free: 200.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004535/11.5, allocations: 0.8121 MB / 4.431 GB, free: 200.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/11.51, allocations: 1.568 MB / 4.433 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006148/11.51, allocations: 0.5377 MB / 4.433 GB, free: 198.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/11.51, allocations: 152.9 kB / 4.433 GB, free: 198.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/11.51, allocations: 8.391 kB / 4.433 GB, free: 198.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006524/11.52, allocations: 3.628 MB / 4.437 GB, free: 198.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/11.52, allocations: 18.56 kB / 4.437 GB, free: 198.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005578/11.52, allocations: 119.8 kB / 4.437 GB, free: 198.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004189/11.52, allocations: 0.8128 MB / 4.438 GB, free: 198.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/11.53, allocations: 1.56 MB / 4.439 GB, free: 197.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005593/11.53, allocations: 0.4936 MB / 4.44 GB, free: 197.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008281/11.53, allocations: 146.1 kB / 4.44 GB, free: 197.2 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.001091/11.53, allocations: 290.8 kB / 4.44 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001585/11.53, allocations: 394.5 kB / 4.441 GB, free: 196.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00971/11.54, allocations: 3.968 MB / 4.445 GB, free: 196.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.421e-05/11.54, allocations: 29.8 kB / 4.445 GB, free: 196.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.247e-05/11.54, allocations: 0.75 kB / 4.445 GB, free: 196.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005949/11.55, allocations: 3.089 MB / 4.448 GB, free: 196.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0242/11.57, allocations: 8.932 MB / 4.456 GB, free: 195.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.239e-05/11.57, allocations: 3.719 kB / 4.456 GB, free: 195.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00379/11.58, allocations: 0.6424 MB / 4.457 GB, free: 195.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006039/11.58, allocations: 89.75 kB / 4.457 GB, free: 195.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007356/11.58, allocations: 101 kB / 4.457 GB, free: 195.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/11.58, allocations: 1.561 MB / 4.459 GB, free: 194.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/11.58, allocations: 10.03 kB / 4.459 GB, free: 194.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/11.59, allocations: 5.886 MB / 4.464 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003773/11.6, allocations: 1.101 MB / 4.466 GB, free: 192.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001721/11.6, allocations: 64.33 kB / 4.466 GB, free: 192.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004863/11.6, allocations: 317.2 kB / 4.466 GB, free: 192.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005692/11.6, allocations: 192.9 kB / 4.466 GB, free: 192.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000593/11.61, allocations: 131.6 kB / 4.466 GB, free: 192.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.005977/11.61, allocations: 2.763 MB / 4.469 GB, free: 192.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.21e-07/11.61, allocations: 0 / 4.469 GB, free: 192.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01274/11.62, allocations: 2.482 MB / 4.471 GB, free: 192.4 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.004809/11.63, allocations: 1.678 MB / 4.473 GB, free: 192.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01631/11.65, allocations: 5.624 MB / 4.478 GB, free: 191.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-05/11.65, allocations: 4.406 kB / 4.478 GB, free: 191.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.005213/11.65, allocations: 1.757 MB / 4.48 GB, free: 191.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01341/11.66, allocations: 2.031 MB / 4.482 GB, free: 191.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02031/11.68, allocations: 8.028 MB / 4.49 GB, free: 190.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00422/11.69, allocations: 3.157 MB / 4.493 GB, free: 189.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01426/11.7, allocations: 3.068 MB / 4.496 GB, free: 189.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002624/11.71, allocations: 322.2 kB / 4.496 GB, free: 189.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.624e-06/11.71, allocations: 0 / 4.496 GB, free: 189.3 MB / 1.151 GB Notification: Performance of Templates: time 0.1559/11.86, allocations: 99.54 MB / 4.594 GB, free: 184.3 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