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.326/2.326, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001299/0.001299, allocations: 190 kB / 498.1 MB, free: 5.68 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.676/1.676, allocations: 223.2 MB / 0.7948 GB, free: 17.81 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.001204/0.001204, allocations: 103.9 kB / 0.9346 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004058, allocations: 10.34 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3547, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.216/6.571, allocations: 2.2 GB / 3.423 GB, free: 283.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004546/6.571, allocations: 97.03 kB / 3.423 GB, free: 283.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.803/10.37, allocations: 0.9454 GB / 4.368 GB, free: 239.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.707e-06/10.37, allocations: 0 / 4.368 GB, free: 239.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001092/10.38, allocations: 134.8 kB / 4.368 GB, free: 239.1 MB / 1.167 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.02217/10.4, allocations: 5.178 MB / 4.373 GB, free: 233.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/10.4, allocations: 16.02 kB / 4.373 GB, free: 233.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/10.41, allocations: 1.282 MB / 4.375 GB, free: 232.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01948/10.43, allocations: 5.571 MB / 4.38 GB, free: 227 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004346/10.43, allocations: 287.5 kB / 4.38 GB, free: 226.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002411/10.43, allocations: 379.9 kB / 4.381 GB, free: 226.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02145/10.45, allocations: 5.434 MB / 4.386 GB, free: 220.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003615/10.45, allocations: 15.78 kB / 4.386 GB, free: 220.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002202/10.46, allocations: 167 kB / 4.386 GB, free: 220.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002364/10.46, allocations: 179.3 kB / 4.386 GB, free: 220.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01818/10.47, allocations: 5.31 MB / 4.391 GB, free: 215.1 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04775/10.52, allocations: 19.47 MB / 4.41 GB, free: 195.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009163/10.53, allocations: 3.588 MB / 4.414 GB, free: 191.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002236/10.53, allocations: 1.866 MB / 4.416 GB, free: 189.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005895/10.54, allocations: 2.07 MB / 4.418 GB, free: 187.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=265): time 9.407e-06/10.54, allocations: 3.938 kB / 4.418 GB, free: 187.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=265): time 0.01642/10.56, allocations: 5.159 MB / 4.423 GB, free: 182.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/10.56, allocations: 287.1 kB / 4.423 GB, free: 181.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009732/10.57, allocations: 3.559 MB / 4.427 GB, free: 178.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001261/10.57, allocations: 77.7 kB / 4.427 GB, free: 178.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003242/10.57, allocations: 1.998 MB / 4.429 GB, free: 176.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002081/10.57, allocations: 0.9021 MB / 4.43 GB, free: 175.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008575/10.57, allocations: 60 kB / 4.43 GB, free: 175.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0004222/10.57, allocations: 428 kB / 4.43 GB, free: 174.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005225/10.58, allocations: 1.575 MB / 4.432 GB, free: 173.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005757/10.58, allocations: 2.276 MB / 4.434 GB, free: 170.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005726/10.59, allocations: 1.925 MB / 4.436 GB, free: 168.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.573e-05/10.59, allocations: 4 kB / 4.436 GB, free: 168.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.01345/10.6, allocations: 4.434 MB / 4.44 GB, free: 164.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001922/10.61, allocations: 7.455 MB / 4.447 GB, free: 156.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.334e-05/10.61, allocations: 16 kB / 4.447 GB, free: 156.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000735/10.61, allocations: 116.8 kB / 4.447 GB, free: 156 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004597/10.61, allocations: 0.8074 MB / 4.448 GB, free: 155.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/10.61, allocations: 1.584 MB / 4.45 GB, free: 153.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006367/10.62, allocations: 0.5431 MB / 4.45 GB, free: 153 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/10.62, allocations: 147.9 kB / 4.45 GB, free: 152.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/10.62, allocations: 4 kB / 4.45 GB, free: 152.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01225/10.63, allocations: 4.089 MB / 4.454 GB, free: 148.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.94e-05/10.63, allocations: 16 kB / 4.454 GB, free: 148.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000666/10.63, allocations: 113 kB / 4.454 GB, free: 148.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004436/10.64, allocations: 0.8151 MB / 4.455 GB, free: 147.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/10.64, allocations: 1.597 MB / 4.457 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006118/10.65, allocations: 0.4967 MB / 4.457 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001066/10.65, allocations: 143.9 kB / 4.457 GB, free: 145.4 MB / 1.167 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 () * Number of clocked 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.005201/10.65, allocations: 1.531 MB / 4.459 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002227/10.65, allocations: 387.3 kB / 4.459 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/10.67, allocations: 4.408 MB / 4.464 GB, free: 139 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.482e-05/10.67, allocations: 31.94 kB / 4.464 GB, free: 138.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/10.67, allocations: 0 / 4.464 GB, free: 138.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008725/10.68, allocations: 3.539 MB / 4.467 GB, free: 135.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02774/10.71, allocations: 9.38 MB / 4.476 GB, free: 125.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.477e-05/10.71, allocations: 4 kB / 4.476 GB, free: 125.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003838/10.71, allocations: 0.6436 MB / 4.477 GB, free: 125.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005938/10.71, allocations: 92.77 kB / 4.477 GB, free: 125.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000762/10.71, allocations: 103.5 kB / 4.477 GB, free: 125 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/10.71, allocations: 1.575 MB / 4.479 GB, free: 123.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/10.71, allocations: 7.938 kB / 4.479 GB, free: 123.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/10.73, allocations: 6.553 MB / 4.485 GB, free: 116.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005538/10.74, allocations: 1.1 MB / 4.486 GB, free: 115.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002704/10.74, allocations: 67.98 kB / 4.486 GB, free: 115.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006301/10.74, allocations: 315.4 kB / 4.486 GB, free: 115 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009401/10.75, allocations: 181.8 kB / 4.487 GB, free: 114.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009204/10.75, allocations: 139.9 kB / 4.487 GB, free: 114.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.007597/10.75, allocations: 2.806 MB / 4.49 GB, free: 111.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 9.42e-07/10.75, allocations: 0 / 4.49 GB, free: 111.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01535/10.77, allocations: 2.486 MB / 4.492 GB, free: 109.4 MB / 1.167 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) * Number of clocked states: 0 () * 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.005667/10.77, allocations: 1.698 MB / 4.494 GB, free: 107.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0178/10.79, allocations: 6.174 MB / 4.5 GB, free: 101.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.279e-05/10.79, allocations: 9.125 kB / 4.5 GB, free: 101.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.005763/10.8, allocations: 1.971 MB / 4.502 GB, free: 99.72 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01362/10.81, allocations: 2.028 MB / 4.504 GB, free: 97.76 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02982/10.84, allocations: 11.38 MB / 4.515 GB, free: 86.29 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006103/10.85, allocations: 3.156 MB / 4.518 GB, free: 83.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01442/10.86, allocations: 2.085 MB / 4.52 GB, free: 81.01 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003715/10.87, allocations: 399.2 kB / 4.52 GB, free: 80.62 MB / 1.167 GB Notification: Performance of SimCode: time 1.743e-06/10.87, allocations: 4 kB / 4.52 GB, free: 80.62 MB / 1.167 GB Notification: Performance of Templates: time 0.9692/11.84, allocations: 91.36 MB / 4.609 GB, free: 271.8 MB / 1.167 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