Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.EN12975_Series,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.sta_b.T|solCol2.sta_b.T|dT.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.sta_b.T|solCol2.sta_b.T|dT.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.309/2.309, allocations: 390.5 MB / 398 MB, free: 10.95 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.001218/0.001218, allocations: 171.6 kB / 491.2 MB, free: 1.609 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.506/1.506, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0009384/0.0009385, allocations: 93.78 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.716e-05/1.717e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2837, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.203/6.487, allocations: 2.2 GB / 3.412 GB, free: 75.16 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/6.487, allocations: 87.58 kB / 3.413 GB, free: 75.11 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.989/13.48, allocations: 1.494 GB / 4.906 GB, free: 180.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.314e-06/13.48, allocations: 2.188 kB / 4.906 GB, free: 180.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001092/13.48, allocations: 199.3 kB / 4.907 GB, free: 180 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: 1566 * Number of variables: 1566 Notification: Performance of Generate backend data structure: time 0.0232/13.5, allocations: 6.704 MB / 4.913 GB, free: 177.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/13.5, allocations: 6.219 kB / 4.913 GB, free: 177.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01773/13.52, allocations: 2.566 MB / 4.916 GB, free: 177 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02291/13.54, allocations: 8.109 MB / 4.924 GB, free: 176 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003247/13.54, allocations: 193.1 kB / 4.924 GB, free: 176 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002486/13.54, allocations: 352 kB / 4.924 GB, free: 176 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01535/13.56, allocations: 6.96 MB / 4.931 GB, free: 176 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02432/13.58, allocations: 7.202 MB / 4.938 GB, free: 175.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002482/13.58, allocations: 10.5 kB / 4.938 GB, free: 175.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001822/13.59, allocations: 9.938 kB / 4.938 GB, free: 175.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003677/13.59, allocations: 291.4 kB / 4.938 GB, free: 175.2 MB / 1.167 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.06565/13.65, allocations: 30.53 MB / 4.968 GB, free: 164.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/13.66, allocations: 5.056 MB / 4.973 GB, free: 164.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006662/13.67, allocations: 2.592 MB / 4.976 GB, free: 164.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003606/13.67, allocations: 2.407 MB / 4.978 GB, free: 161.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009197/13.68, allocations: 2.855 MB / 4.981 GB, free: 161.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=424): time 1.415e-05/13.68, allocations: 4.281 kB / 4.981 GB, free: 161.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=424): time 0.2579/13.94, allocations: 17.5 MB / 4.998 GB, free: 161.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002392/13.94, allocations: 383.8 kB / 4.998 GB, free: 161 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01551/13.96, allocations: 4.523 MB / 5.003 GB, free: 160.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.00198/13.96, allocations: 33.23 kB / 5.003 GB, free: 160.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004994/13.96, allocations: 3.171 MB / 5.006 GB, free: 159.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003545/13.97, allocations: 1.371 MB / 5.007 GB, free: 158.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000578/13.97, allocations: 3.844 kB / 5.007 GB, free: 158.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0004216/13.97, allocations: 488.6 kB / 5.008 GB, free: 158.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004924/13.97, allocations: 2.055 MB / 5.01 GB, free: 158.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00567/13.98, allocations: 3.004 MB / 5.012 GB, free: 157.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1808/14.16, allocations: 15.28 MB / 5.027 GB, free: 156.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.505e-05/14.16, allocations: 6.844 kB / 5.027 GB, free: 156.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=565) (initialization): time 0.1757/14.34, allocations: 18.43 MB / 5.045 GB, free: 155 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002871/14.34, allocations: 10.59 MB / 5.056 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-05/14.34, allocations: 21.75 kB / 5.056 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001282/14.34, allocations: 44.91 kB / 5.056 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008686/14.35, allocations: 1.292 MB / 5.057 GB, free: 143.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002396/14.35, allocations: 63.59 kB / 5.057 GB, free: 143.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/14.36, allocations: 0.6992 MB / 5.058 GB, free: 143.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002077/14.36, allocations: 231.6 kB / 5.058 GB, free: 143.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/14.36, allocations: 4.594 kB / 5.058 GB, free: 143.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1708/14.53, allocations: 17.86 MB / 5.075 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.932e-05/14.53, allocations: 22.91 kB / 5.075 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.255e-05/14.53, allocations: 42.84 kB / 5.076 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007425/14.54, allocations: 1.296 MB / 5.077 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.922e-05/14.54, allocations: 59.28 kB / 5.077 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008976/14.55, allocations: 0.6335 MB / 5.077 GB, free: 142.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001792/14.55, allocations: 229.5 kB / 5.078 GB, free: 142.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (565): * Single equations (assignments): 565 * 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.001826/14.55, allocations: 216.5 kB / 5.078 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002498/14.55, allocations: 0.5558 MB / 5.078 GB, free: 141.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1667/14.72, allocations: 18.6 MB / 5.097 GB, free: 131 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-05/14.72, allocations: 44 kB / 5.097 GB, free: 131 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/14.72, allocations: 0 / 5.097 GB, free: 131 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1619/14.88, allocations: 17.14 MB / 5.113 GB, free: 118.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1771/15.06, allocations: 26.04 MB / 5.139 GB, free: 93.39 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/15.06, allocations: 4 kB / 5.139 GB, free: 93.39 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005794/15.07, allocations: 1.067 MB / 5.14 GB, free: 92.37 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-05/15.07, allocations: 27.95 kB / 5.14 GB, free: 92.34 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004651/15.07, allocations: 95.86 kB / 5.14 GB, free: 92.25 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.131e-05/15.07, allocations: 27 kB / 5.14 GB, free: 92.22 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.126e-06/15.07, allocations: 7.656 kB / 5.14 GB, free: 92.22 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.16/15.23, allocations: 22 MB / 5.161 GB, free: 69.88 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005086/15.23, allocations: 1.621 MB / 5.163 GB, free: 68.23 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003256/15.23, allocations: 25.19 kB / 5.163 GB, free: 68.21 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007647/15.24, allocations: 451 kB / 5.164 GB, free: 67.77 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005093/15.24, allocations: 284.8 kB / 5.164 GB, free: 67.49 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005811/15.24, allocations: 203.8 kB / 5.164 GB, free: 67.29 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00554/15.25, allocations: 3.492 MB / 5.167 GB, free: 63.83 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.91e-07/15.25, allocations: 0 / 5.167 GB, free: 63.83 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01471/15.26, allocations: 3.57 MB / 5.171 GB, free: 60.25 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol2.vol[1].dynBal.U,solCol2.vol[2].dynBal.U,solCol2.vol[3].dynBal.U) * 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 (451): * Single equations (assignments): 441 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * 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.004433/15.27, allocations: 1.615 MB / 5.172 GB, free: 59.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01345/15.28, allocations: 8.111 MB / 5.18 GB, free: 51.07 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.587e-05/15.28, allocations: 9.406 kB / 5.18 GB, free: 51.07 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003359/15.29, allocations: 2.525 MB / 5.183 GB, free: 48.55 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01495/15.3, allocations: 2.565 MB / 5.185 GB, free: 46.13 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02154/15.32, allocations: 11.51 MB / 5.197 GB, free: 34.56 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003592/15.33, allocations: 4.491 MB / 5.201 GB, free: 30.03 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01715/15.34, allocations: 3.843 MB / 5.205 GB, free: 26.45 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002146/15.34, allocations: 495.1 kB / 5.205 GB, free: 25.96 MB / 1.167 GB Notification: Performance of SimCode: time 1.122e-06/15.34, allocations: 0 / 5.205 GB, free: 25.96 MB / 1.167 GB Notification: Performance of Templates: time 1.055/16.4, allocations: 116.5 MB / 5.319 GB, free: 192 MB / 1.198 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches