Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.Validation.EN12975_Series,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.sta_b.T|solCol2.sta_b.T|dT.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, 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.001108/0.001108, allocations: 187.7 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.932/1.932, allocations: 205.4 MB / 0.5775 GB, free: 20.32 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.0008771/0.0008764, allocations: 95.72 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.000381, allocations: 12.97 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2825, allocations: 106.3 MB / 0.9001 GB, free: 64 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.525/6.807, allocations: 2.475 GB / 3.376 GB, free: 79.57 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003637/6.808, allocations: 99.95 kB / 3.376 GB, free: 79.47 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.066/11.87, allocations: 1.446 GB / 4.822 GB, free: 7.078 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.727e-06/11.87, allocations: 4 kB / 4.822 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001074/11.87, allocations: 191.8 kB / 4.822 GB, free: 6.887 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 1.184/13.06, allocations: 7.84 MB / 4.829 GB, free: 100.2 MB / 0.9168 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/13.06, allocations: 9.766 kB / 4.829 GB, free: 100.2 MB / 0.9168 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01698/13.08, allocations: 2.464 MB / 4.832 GB, free: 99.79 MB / 0.9168 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02847/13.1, allocations: 7.877 MB / 4.839 GB, free: 99.16 MB / 0.9168 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006917/13.1, allocations: 441.3 kB / 4.84 GB, free: 99.15 MB / 0.9168 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003185/13.11, allocations: 0.5736 MB / 4.84 GB, free: 99.15 MB / 0.9168 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02964/13.14, allocations: 8.491 MB / 4.849 GB, free: 98.39 MB / 0.9168 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002149/13.14, allocations: 20.56 kB / 4.849 GB, free: 98.38 MB / 0.9168 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001623/13.14, allocations: 248 kB / 4.849 GB, free: 98.38 MB / 0.9168 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003299/13.14, allocations: 262.6 kB / 4.849 GB, free: 98.37 MB / 0.9168 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02592/13.17, allocations: 8.59 MB / 4.858 GB, free: 98.32 MB / 0.9168 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.07297/13.24, allocations: 31.12 MB / 4.888 GB, free: 88.09 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01691/13.26, allocations: 6.157 MB / 4.894 GB, free: 87.8 MB / 0.9168 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00257/13.26, allocations: 2.401 MB / 4.896 GB, free: 85.27 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01205/13.27, allocations: 3.307 MB / 4.9 GB, free: 85.13 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=421): time 4.348e-05/13.27, allocations: 0 / 4.9 GB, free: 85.13 MB / 0.9168 GB Notification: Performance of matching and sorting (n=421): time 0.02902/13.3, allocations: 8.079 MB / 4.908 GB, free: 84.68 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001829/13.3, allocations: 385.5 kB / 4.908 GB, free: 84.27 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01307/13.31, allocations: 5.247 MB / 4.913 GB, free: 83.9 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.001655/13.31, allocations: 99.61 kB / 4.913 GB, free: 83.87 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.004222/13.32, allocations: 3.117 MB / 4.916 GB, free: 82.93 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.002907/13.32, allocations: 1.425 MB / 4.918 GB, free: 82.02 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001274/13.32, allocations: 83.25 kB / 4.918 GB, free: 82.02 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 0.0004849/13.32, allocations: 482.5 kB / 4.918 GB, free: 81.71 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007219/13.33, allocations: 2.528 MB / 4.921 GB, free: 81.7 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007909/13.34, allocations: 3.514 MB / 4.924 GB, free: 80.67 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007954/13.35, allocations: 2.978 MB / 4.927 GB, free: 80.62 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.917e-05/13.35, allocations: 7.875 kB / 4.927 GB, free: 80.62 MB / 0.9168 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.02373/13.37, allocations: 6.838 MB / 4.934 GB, free: 80.21 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 0.00284/13.37, allocations: 10.82 MB / 4.944 GB, free: 69.03 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.733e-05/13.37, allocations: 21.31 kB / 4.944 GB, free: 69.03 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000103/13.37, allocations: 47.41 kB / 4.944 GB, free: 69.03 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007944/13.38, allocations: 1.273 MB / 4.945 GB, free: 69.03 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001336/13.38, allocations: 61 kB / 4.945 GB, free: 69.03 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01009/13.39, allocations: 0.8126 MB / 4.946 GB, free: 68.77 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00183/13.39, allocations: 228.5 kB / 4.947 GB, free: 68.77 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/13.39, allocations: 3.688 kB / 4.947 GB, free: 68.77 MB / 0.9168 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02054/13.41, allocations: 6.309 MB / 4.953 GB, free: 68.68 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001024/13.41, allocations: 22.75 kB / 4.953 GB, free: 68.68 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.31e-05/13.41, allocations: 50.91 kB / 4.953 GB, free: 68.68 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007681/13.42, allocations: 1.259 MB / 4.954 GB, free: 68.68 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001359/13.42, allocations: 68.2 kB / 4.954 GB, free: 68.68 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00944/13.43, allocations: 0.7547 MB / 4.955 GB, free: 68.46 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001697/13.43, allocations: 232.7 kB / 4.955 GB, free: 68.46 MB / 0.9168 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 (562): * Single equations (assignments): 562 * 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.007894/13.44, allocations: 2.091 MB / 4.957 GB, free: 68.26 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003593/13.45, allocations: 0.5883 MB / 4.958 GB, free: 67.95 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02688/13.47, allocations: 6.946 MB / 4.964 GB, free: 67.65 MB / 0.9168 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.799e-05/13.47, allocations: 57.56 kB / 4.964 GB, free: 67.65 MB / 0.9168 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.913e-05/13.47, allocations: 0 / 4.964 GB, free: 67.65 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01735/13.49, allocations: 5.37 MB / 4.97 GB, free: 67.4 MB / 0.9168 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04579/13.54, allocations: 15.02 MB / 4.984 GB, free: 66.05 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.215e-05/13.54, allocations: 6.5 kB / 4.984 GB, free: 66.05 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007171/13.54, allocations: 1.04 MB / 4.985 GB, free: 66.05 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.073e-05/13.54, allocations: 20.88 kB / 4.985 GB, free: 66.05 MB / 0.9168 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001467/13.54, allocations: 151.3 kB / 4.986 GB, free: 66.05 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.08e-05/13.54, allocations: 25.91 kB / 4.986 GB, free: 66.05 MB / 0.9168 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/13.54, allocations: 6.531 kB / 4.986 GB, free: 66.05 MB / 0.9168 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03047/13.58, allocations: 10.92 MB / 4.996 GB, free: 63.81 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007213/13.58, allocations: 1.668 MB / 4.998 GB, free: 63.32 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003978/13.59, allocations: 96.28 kB / 4.998 GB, free: 63.32 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009237/13.6, allocations: 0.4994 MB / 4.998 GB, free: 63.29 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001391/13.6, allocations: 275.4 kB / 4.999 GB, free: 63.28 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001613/13.6, allocations: 201.8 kB / 4.999 GB, free: 63.28 MB / 0.9168 GB Notification: Performance of sorting global known variables: time 0.01162/13.61, allocations: 4.295 MB / 5.003 GB, free: 63.07 MB / 0.9168 GB Notification: Performance of sort global known variables: time 4.41e-07/13.61, allocations: 3.938 kB / 5.003 GB, free: 63.07 MB / 0.9168 GB Notification: Performance of remove unused functions: time 0.02015/13.63, allocations: 3.639 MB / 5.007 GB, free: 62.57 MB / 0.9168 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 (447): * Single equations (assignments): 437 * 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.005561/13.64, allocations: 1.681 MB / 5.008 GB, free: 62.32 MB / 0.9168 GB Notification: Performance of simCode: created initialization part: time 0.02829/13.66, allocations: 9.435 MB / 5.018 GB, free: 62.23 MB / 0.9168 GB Notification: Performance of simCode: created event and clocks part: time 1.826e-05/13.66, allocations: 5.906 kB / 5.018 GB, free: 62.23 MB / 0.9168 GB Notification: Performance of simCode: created simulation system equations: time 0.008774/13.67, allocations: 3.001 MB / 5.02 GB, free: 62.22 MB / 0.9168 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01796/13.69, allocations: 3.149 MB / 5.024 GB, free: 62.06 MB / 0.9168 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04106/13.73, allocations: 16.82 MB / 5.04 GB, free: 55.14 MB / 0.9168 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008599/13.74, allocations: 4.432 MB / 5.044 GB, free: 54.18 MB / 0.9168 GB Notification: Performance of simCode: alias equations: time 0.01979/13.76, allocations: 2.911 MB / 5.047 GB, free: 53.72 MB / 0.9168 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00489/13.77, allocations: 0.6105 MB / 5.048 GB, free: 53.71 MB / 0.9168 GB Notification: Performance of SimCode: time 2.946e-06/13.77, allocations: 0 / 5.048 GB, free: 53.71 MB / 0.9168 GB Notification: Performance of Templates: time 0.2194/13.99, allocations: 130.2 MB / 5.175 GB, free: 10.54 MB / 0.948 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches