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.489/1.489, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 187.4 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0009755/0.0009757, allocations: 103.8 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003836, allocations: 11.03 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2904, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.209/6.499, allocations: 2.475 GB / 3.375 GB, free: 33.87 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/6.5, allocations: 99.81 kB / 3.375 GB, free: 33.82 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.982/10.48, allocations: 0.9085 GB / 4.283 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.414e-06/10.48, allocations: 0 / 4.283 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0009378/10.48, allocations: 121.8 kB / 4.283 GB, free: 173.4 MB / 0.8855 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.02044/10.5, allocations: 5.094 MB / 4.288 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.216e-05/10.5, allocations: 12.03 kB / 4.288 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009305/10.51, allocations: 1.246 MB / 4.29 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01774/10.53, allocations: 5.393 MB / 4.295 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004514/10.53, allocations: 279.3 kB / 4.295 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00239/10.53, allocations: 375.9 kB / 4.295 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01956/10.55, allocations: 5.31 MB / 4.301 GB, free: 155.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003415/10.55, allocations: 16.11 kB / 4.301 GB, free: 155.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001976/10.55, allocations: 156 kB / 4.301 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000226/10.56, allocations: 179.1 kB / 4.301 GB, free: 155.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01652/10.57, allocations: 5.239 MB / 4.306 GB, free: 150 MB / 0.8855 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.05072/10.62, allocations: 19.28 MB / 4.325 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/10.63, allocations: 3.61 MB / 4.328 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0027/10.64, allocations: 1.862 MB / 4.33 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006357/10.64, allocations: 2.029 MB / 4.332 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=264): time 1.397e-05/10.64, allocations: 0 / 4.332 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=264): time 0.01703/10.66, allocations: 5.081 MB / 4.337 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/10.66, allocations: 295.1 kB / 4.337 GB, free: 117 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01118/10.67, allocations: 3.476 MB / 4.341 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001363/10.67, allocations: 73.7 kB / 4.341 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003525/10.68, allocations: 1.97 MB / 4.343 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002274/10.68, allocations: 0.9057 MB / 4.344 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009355/10.68, allocations: 56 kB / 4.344 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000446/10.68, allocations: 424 kB / 4.344 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004618/10.68, allocations: 1.563 MB / 4.346 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005126/10.69, allocations: 2.253 MB / 4.348 GB, free: 106 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00499/10.69, allocations: 1.899 MB / 4.35 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-05/10.69, allocations: 8 kB / 4.35 GB, free: 104 MB / 0.8855 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.0132/10.71, allocations: 4.391 MB / 4.354 GB, free: 99.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002273/10.71, allocations: 7.407 MB / 4.361 GB, free: 91.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.767e-05/10.71, allocations: 16 kB / 4.361 GB, free: 91.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007321/10.71, allocations: 116.7 kB / 4.361 GB, free: 91.42 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004105/10.71, allocations: 0.7996 MB / 4.362 GB, free: 90.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/10.72, allocations: 1.589 MB / 4.364 GB, free: 88.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00588/10.72, allocations: 0.5272 MB / 4.364 GB, free: 88.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006307/10.72, allocations: 151.9 kB / 4.364 GB, free: 88.21 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/10.72, allocations: 5.562 kB / 4.364 GB, free: 88.21 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009402/10.73, allocations: 4.054 MB / 4.368 GB, free: 84.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.67e-05/10.73, allocations: 19.98 kB / 4.368 GB, free: 84.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005982/10.73, allocations: 113 kB / 4.369 GB, free: 83.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00372/10.74, allocations: 0.7995 MB / 4.369 GB, free: 83.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/10.74, allocations: 1.59 MB / 4.371 GB, free: 81.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005391/10.74, allocations: 488.8 kB / 4.371 GB, free: 80.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005115/10.74, allocations: 143.9 kB / 4.371 GB, free: 80.84 MB / 0.8855 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 (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.004186/10.75, allocations: 1.507 MB / 4.373 GB, free: 79.32 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002097/10.75, allocations: 383.3 kB / 4.373 GB, free: 78.94 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/10.76, allocations: 4.359 MB / 4.378 GB, free: 74.53 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-05/10.76, allocations: 31.98 kB / 4.378 GB, free: 74.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.815e-05/10.76, allocations: 0 / 4.378 GB, free: 74.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00832/10.77, allocations: 3.488 MB / 4.381 GB, free: 70.92 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02612/10.8, allocations: 9.241 MB / 4.39 GB, free: 61.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/10.8, allocations: 8.484 kB / 4.39 GB, free: 61.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003587/10.8, allocations: 0.6319 MB / 4.391 GB, free: 60.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006455/10.8, allocations: 96.77 kB / 4.391 GB, free: 60.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005404/10.8, allocations: 87.92 kB / 4.391 GB, free: 60.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/10.81, allocations: 1.59 MB / 4.392 GB, free: 58.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/10.81, allocations: 4 kB / 4.392 GB, free: 58.99 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/10.82, allocations: 6.465 MB / 4.399 GB, free: 52.29 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004136/10.82, allocations: 1.073 MB / 4.4 GB, free: 51.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001963/10.83, allocations: 66.98 kB / 4.4 GB, free: 51.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005046/10.83, allocations: 311.1 kB / 4.4 GB, free: 50.83 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000542/10.83, allocations: 185.8 kB / 4.4 GB, free: 50.65 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005492/10.83, allocations: 127.9 kB / 4.4 GB, free: 50.52 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.006294/10.84, allocations: 2.741 MB / 4.403 GB, free: 47.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.02e-07/10.84, allocations: 0 / 4.403 GB, free: 47.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01195/10.85, allocations: 2.435 MB / 4.405 GB, free: 45.36 MB / 0.8855 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 (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.004494/10.86, allocations: 1.636 MB / 4.407 GB, free: 43.96 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01428/10.87, allocations: 6.123 MB / 4.413 GB, free: 37.78 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/10.87, allocations: 0.5625 kB / 4.413 GB, free: 37.78 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004493/10.87, allocations: 1.96 MB / 4.415 GB, free: 35.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01068/10.88, allocations: 2.019 MB / 4.417 GB, free: 33.87 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02822/10.91, allocations: 11.24 MB / 4.428 GB, free: 22.62 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007941/10.92, allocations: 3.111 MB / 4.431 GB, free: 19.48 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01192/10.93, allocations: 2.059 MB / 4.433 GB, free: 17.49 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001942/10.94, allocations: 395.2 kB / 4.433 GB, free: 17.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.543e-06/10.94, allocations: 3.938 kB / 4.433 GB, free: 17.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.7127/11.65, allocations: 90.05 MB / 4.521 GB, free: 172.8 MB / 0.8855 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