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.281/2.281, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.00161/0.00161, allocations: 175.9 kB / 0.4902 GB, free: 2.258 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.735/1.735, allocations: 223.2 MB / 0.7992 GB, free: 14.74 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.001062/0.001062, allocations: 102.2 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004406, allocations: 10.44 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.4424, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.636/7.078, allocations: 2.201 GB / 3.43 GB, free: 248.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/7.079, allocations: 100.5 kB / 3.43 GB, free: 248.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.252/12.33, allocations: 1.505 GB / 4.936 GB, free: 53.14 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.595e-06/12.33, allocations: 3.938 kB / 4.936 GB, free: 53.14 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001587/12.33, allocations: 195.9 kB / 4.936 GB, free: 52.95 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.03282/12.37, allocations: 8.013 MB / 4.944 GB, free: 44.84 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/12.37, allocations: 8.031 kB / 4.944 GB, free: 44.83 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01849/12.38, allocations: 2.572 MB / 4.946 GB, free: 42.25 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02555/12.41, allocations: 8.148 MB / 4.954 GB, free: 34.06 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004834/12.41, allocations: 451.9 kB / 4.954 GB, free: 33.62 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002829/12.41, allocations: 0.5858 MB / 4.955 GB, free: 33.03 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02589/12.44, allocations: 8.773 MB / 4.964 GB, free: 24.01 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001749/12.44, allocations: 23.73 kB / 4.964 GB, free: 23.98 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009959/12.44, allocations: 256 kB / 4.964 GB, free: 23.73 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002148/12.44, allocations: 275.7 kB / 4.964 GB, free: 23.46 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02413/12.46, allocations: 8.804 MB / 4.973 GB, free: 14.65 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.07068/12.54, allocations: 31.71 MB / 5.004 GB, free: 13.95 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01765/12.55, allocations: 6.081 MB / 5.01 GB, free: 7.852 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003218/12.56, allocations: 2.411 MB / 5.012 GB, free: 4.941 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01076/12.57, allocations: 3.42 MB / 5.015 GB, free: 1.488 MB / 1.198 GB Notification: Performance of pre-optimization done (n=424): time 9.448e-06/12.57, allocations: 4 kB / 5.015 GB, free: 1.484 MB / 1.198 GB Notification: Performance of matching and sorting (n=424): time 0.8838/13.45, allocations: 8.267 MB / 5.023 GB, free: 156.7 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001815/13.45, allocations: 387.4 kB / 5.024 GB, free: 156.3 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01714/13.47, allocations: 5.353 MB / 5.029 GB, free: 156 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001926/13.47, allocations: 111.4 kB / 5.029 GB, free: 155.9 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.006344/13.48, allocations: 3.152 MB / 5.032 GB, free: 155.4 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004307/13.48, allocations: 1.429 MB / 5.034 GB, free: 154.7 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001779/13.48, allocations: 87.78 kB / 5.034 GB, free: 154.7 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0009163/13.48, allocations: 483.9 kB / 5.034 GB, free: 154.4 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01007/13.49, allocations: 2.584 MB / 5.037 GB, free: 154.4 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0117/13.51, allocations: 3.563 MB / 5.04 GB, free: 153.3 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/13.52, allocations: 3.035 MB / 5.043 GB, free: 153.3 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.101e-05/13.52, allocations: 6.594 kB / 5.043 GB, free: 153.3 MB / 1.198 GB Notification: Performance of matching and sorting (n=565) (initialization): time 0.02408/13.54, allocations: 6.97 MB / 5.05 GB, free: 152.9 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.00314/13.54, allocations: 10.9 MB / 5.061 GB, free: 141.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.924e-05/13.54, allocations: 25.09 kB / 5.061 GB, free: 141.7 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/13.54, allocations: 43.62 kB / 5.061 GB, free: 141.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008024/13.55, allocations: 1.297 MB / 5.062 GB, free: 141.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001483/13.55, allocations: 57.52 kB / 5.062 GB, free: 141.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/13.56, allocations: 0.8532 MB / 5.063 GB, free: 141.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001881/13.56, allocations: 227 kB / 5.063 GB, free: 141.5 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/13.56, allocations: 4.5 kB / 5.063 GB, free: 141.5 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02211/13.59, allocations: 6.426 MB / 5.069 GB, free: 141.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/13.59, allocations: 24.66 kB / 5.069 GB, free: 141.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.458e-05/13.59, allocations: 48.48 kB / 5.069 GB, free: 141.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007731/13.59, allocations: 1.3 MB / 5.071 GB, free: 141.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001332/13.59, allocations: 57.14 kB / 5.071 GB, free: 141.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009954/13.6, allocations: 0.7927 MB / 5.071 GB, free: 141.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001615/13.61, allocations: 228 kB / 5.072 GB, free: 141.3 MB / 1.198 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 () * Number of clocked 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.007964/13.61, allocations: 2.131 MB / 5.074 GB, free: 141.1 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003502/13.62, allocations: 0.605 MB / 5.074 GB, free: 140.8 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02511/13.64, allocations: 7.108 MB / 5.081 GB, free: 140.5 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.156e-05/13.64, allocations: 44.66 kB / 5.081 GB, free: 140.5 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-05/13.64, allocations: 0 / 5.081 GB, free: 140.5 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01723/13.66, allocations: 5.496 MB / 5.087 GB, free: 140.3 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05499/13.72, allocations: 15.3 MB / 5.102 GB, free: 139.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-05/13.72, allocations: 3.438 kB / 5.102 GB, free: 139.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007236/13.72, allocations: 1.072 MB / 5.103 GB, free: 139.1 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001169/13.72, allocations: 25.66 kB / 5.103 GB, free: 139.1 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001452/13.72, allocations: 141.2 kB / 5.103 GB, free: 139.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.698e-05/13.72, allocations: 28.92 kB / 5.103 GB, free: 139.1 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/13.72, allocations: 11.5 kB / 5.103 GB, free: 139.1 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02979/13.75, allocations: 11.15 MB / 5.114 GB, free: 136.8 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008047/13.76, allocations: 1.706 MB / 5.115 GB, free: 136.4 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003826/13.77, allocations: 98.25 kB / 5.116 GB, free: 136.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009413/13.78, allocations: 0.523 MB / 5.116 GB, free: 136.4 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001295/13.78, allocations: 280.5 kB / 5.116 GB, free: 136.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001591/13.78, allocations: 207.2 kB / 5.117 GB, free: 136.4 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.01149/13.79, allocations: 4.404 MB / 5.121 GB, free: 136.2 MB / 1.198 GB Notification: Performance of sort global known variables: time 6.81e-07/13.79, allocations: 0 / 5.121 GB, free: 136.2 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.02072/13.81, allocations: 3.695 MB / 5.124 GB, free: 135.9 MB / 1.198 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) * Number of clocked states: 0 () * 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.006265/13.82, allocations: 1.739 MB / 5.126 GB, free: 135.6 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.02938/13.85, allocations: 9.62 MB / 5.136 GB, free: 135.6 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-05/13.85, allocations: 10.05 kB / 5.136 GB, free: 135.6 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.01149/13.86, allocations: 3.065 MB / 5.139 GB, free: 135.5 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02016/13.88, allocations: 3.169 MB / 5.142 GB, free: 135.5 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04097/13.92, allocations: 17.14 MB / 5.158 GB, free: 129.1 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007548/13.93, allocations: 4.483 MB / 5.163 GB, free: 128.2 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.01925/13.95, allocations: 2.96 MB / 5.166 GB, free: 127.8 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004186/13.95, allocations: 0.6194 MB / 5.166 GB, free: 127.8 MB / 1.198 GB Notification: Performance of SimCode: time 2.876e-06/13.95, allocations: 0 / 5.166 GB, free: 127.8 MB / 1.198 GB Notification: Performance of Templates: time 0.235/14.19, allocations: 132.4 MB / 5.296 GB, free: 119.8 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