Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.30..T|datRea.y.2.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.30..T|datRea.y.2.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.372/2.372, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001805/0.001805, allocations: 190.1 kB / 0.4902 GB, free: 2.246 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.804/1.804, allocations: 223.2 MB / 0.7992 GB, free: 14.65 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.001147/0.001147, allocations: 98.33 kB / 0.9396 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005751/0.0005752, allocations: 10.88 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.392, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.682/7.074, allocations: 2.201 GB / 3.43 GB, free: 188.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/7.074, allocations: 96.8 kB / 3.43 GB, free: 188.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 8.534/15.61, allocations: 2.145 GB / 5.576 GB, free: 243.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.785e-06/15.61, allocations: 0 / 5.576 GB, free: 243.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.002923/15.61, allocations: 324.7 kB / 5.576 GB, free: 243.5 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: 2347 * Number of variables: 2347 Notification: Performance of Generate backend data structure: time 0.05769/15.67, allocations: 11.88 MB / 5.588 GB, free: 239.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/15.67, allocations: 6.75 kB / 5.588 GB, free: 239.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01656/15.69, allocations: 2.093 MB / 5.59 GB, free: 238.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04669/15.73, allocations: 15.27 MB / 5.605 GB, free: 234.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000942/15.73, allocations: 0.652 MB / 5.605 GB, free: 234.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005/15.74, allocations: 0.8729 MB / 5.606 GB, free: 234.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04117/15.78, allocations: 13.31 MB / 5.619 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004538/15.78, allocations: 35.02 kB / 5.619 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003575/15.78, allocations: 387.3 kB / 5.619 GB, free: 227.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000422/15.78, allocations: 468.2 kB / 5.62 GB, free: 227.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0325/15.82, allocations: 11.91 MB / 5.631 GB, free: 218.2 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.1086/15.93, allocations: 50.93 MB / 5.681 GB, free: 166 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01508/15.94, allocations: 8.216 MB / 5.689 GB, free: 157.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001927/15.94, allocations: 1.496 MB / 5.691 GB, free: 156.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01013/15.95, allocations: 4.24 MB / 5.695 GB, free: 151.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=554): time 9.137e-06/15.95, allocations: 0 / 5.695 GB, free: 151.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=554): time 0.02641/15.98, allocations: 10.65 MB / 5.705 GB, free: 141.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/15.98, allocations: 347 kB / 5.706 GB, free: 140.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0202/16, allocations: 9.195 MB / 5.715 GB, free: 131.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002778/16, allocations: 149.6 kB / 5.715 GB, free: 131.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.007842/16.01, allocations: 5.011 MB / 5.72 GB, free: 126.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003987/16.01, allocations: 1.927 MB / 5.721 GB, free: 124.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007088/16.02, allocations: 144 kB / 5.722 GB, free: 124.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0005378/16.02, allocations: 0.5753 MB / 5.722 GB, free: 123.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007083/16.02, allocations: 3.585 MB / 5.726 GB, free: 120.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009736/16.03, allocations: 5.45 MB / 5.731 GB, free: 113.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0096/16.04, allocations: 4.585 MB / 5.735 GB, free: 109.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.016e-05/16.04, allocations: 12 kB / 5.735 GB, free: 109.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.02751/16.07, allocations: 10.16 MB / 5.745 GB, free: 98.96 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.007675/16.08, allocations: 28.83 MB / 5.774 GB, free: 68.48 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001719/16.08, allocations: 55.95 kB / 5.774 GB, free: 68.43 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/16.08, allocations: 96 kB / 5.774 GB, free: 68.33 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01035/16.09, allocations: 1.845 MB / 5.776 GB, free: 66.48 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001883/16.09, allocations: 119.6 kB / 5.776 GB, free: 66.37 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01474/16.1, allocations: 1.241 MB / 5.777 GB, free: 65.12 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003292/16.11, allocations: 339.9 kB / 5.777 GB, free: 64.79 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/16.11, allocations: 5.25 kB / 5.777 GB, free: 64.78 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02504/16.13, allocations: 9.381 MB / 5.786 GB, free: 55.34 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001213/16.13, allocations: 52 kB / 5.786 GB, free: 55.29 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.459e-05/16.13, allocations: 100.2 kB / 5.786 GB, free: 55.19 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009494/16.14, allocations: 1.849 MB / 5.788 GB, free: 53.34 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001746/16.14, allocations: 127.6 kB / 5.788 GB, free: 53.21 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01569/16.16, allocations: 1.133 MB / 5.79 GB, free: 52.07 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002412/16.16, allocations: 331.9 kB / 5.79 GB, free: 51.75 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (867): * Single equations (assignments): 867 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01243/16.17, allocations: 4.028 MB / 5.794 GB, free: 47.71 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005152/16.18, allocations: 0.8994 MB / 5.795 GB, free: 46.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02602/16.2, allocations: 8.778 MB / 5.803 GB, free: 37.95 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.296e-05/16.2, allocations: 56 kB / 5.803 GB, free: 37.89 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.894e-05/16.2, allocations: 4 kB / 5.803 GB, free: 37.89 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01832/16.22, allocations: 6.873 MB / 5.81 GB, free: 30.92 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0671/16.29, allocations: 20.19 MB / 5.83 GB, free: 10.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.934e-05/16.29, allocations: 0 / 5.83 GB, free: 10.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008313/16.3, allocations: 1.322 MB / 5.831 GB, free: 9.273 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001042/16.3, allocations: 20 kB / 5.831 GB, free: 9.254 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001834/16.3, allocations: 187.8 kB / 5.831 GB, free: 9.07 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.548e-05/16.3, allocations: 16 kB / 5.831 GB, free: 9.055 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/16.3, allocations: 11.89 kB / 5.831 GB, free: 9.043 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03459/16.33, allocations: 12.93 MB / 5.844 GB, free: 11.93 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01258/16.35, allocations: 2.46 MB / 5.846 GB, free: 9.441 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005555/16.35, allocations: 120 kB / 5.846 GB, free: 9.324 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01305/16.37, allocations: 0.721 MB / 5.847 GB, free: 8.602 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002009/16.37, allocations: 327.9 kB / 5.847 GB, free: 8.277 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002471/16.37, allocations: 291.7 kB / 5.848 GB, free: 7.992 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.02163/16.39, allocations: 7.219 MB / 5.855 GB, free: 0.8125 MB / 1.182 GB Notification: Performance of sort global known variables: time 6.11e-07/16.39, allocations: 0 / 5.855 GB, free: 0.8125 MB / 1.182 GB Notification: Performance of remove unused functions: time 1.02/17.41, allocations: 5.649 MB / 5.86 GB, free: 248 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (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,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (575): * Single equations (assignments): 569 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006216/17.42, allocations: 1.509 MB / 5.862 GB, free: 247.9 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.04081/17.46, allocations: 13.27 MB / 5.875 GB, free: 247.7 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 3.152e-05/17.46, allocations: 10.88 kB / 5.875 GB, free: 247.7 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.01111/17.47, allocations: 3.81 MB / 5.878 GB, free: 247.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03418/17.5, allocations: 5.588 MB / 5.884 GB, free: 247.6 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07456/17.58, allocations: 27.33 MB / 5.911 GB, free: 238.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01464/17.59, allocations: 7.192 MB / 5.918 GB, free: 237.5 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.03553/17.63, allocations: 6.04 MB / 5.923 GB, free: 236.8 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01002/17.64, allocations: 0.8636 MB / 5.924 GB, free: 236.8 MB / 1.182 GB Notification: Performance of SimCode: time 2.134e-06/17.64, allocations: 4 kB / 5.924 GB, free: 236.8 MB / 1.182 GB Notification: Performance of Templates: time 0.3523/17.99, allocations: 191.1 MB / 6.111 GB, free: 155.6 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Validation_FlatPlate.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches