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.478/1.478, allocations: 249.5 MB / 257 MB, free: 6.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 180.9 kB / 316.3 MB, free: 3.219 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.823/1.823, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.001057/0.001057, allocations: 88.5 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.033e-05/2.036e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.238, allocations: 106.4 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.449/7.687, allocations: 2.476 GB / 3.361 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/7.687, allocations: 89.7 kB / 3.361 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.637/13.32, allocations: 1.434 GB / 4.795 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.334e-06/13.32, allocations: 0 / 4.795 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001147/13.33, allocations: 192.6 kB / 4.795 GB, free: 107.6 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.02693/13.35, allocations: 6.546 MB / 4.801 GB, free: 101 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.386e-05/13.35, allocations: 8.031 kB / 4.801 GB, free: 101 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01731/13.37, allocations: 2.479 MB / 4.804 GB, free: 98.52 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02144/13.39, allocations: 7.828 MB / 4.811 GB, free: 90.77 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003504/13.39, allocations: 188 kB / 4.811 GB, free: 90.59 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002843/13.39, allocations: 344 kB / 4.812 GB, free: 90.25 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01696/13.41, allocations: 6.844 MB / 4.818 GB, free: 83.41 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02162/13.43, allocations: 6.969 MB / 4.825 GB, free: 76.21 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001702/13.43, allocations: 15.78 kB / 4.825 GB, free: 76.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009137/13.43, allocations: 11.61 kB / 4.825 GB, free: 76.19 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002026/13.43, allocations: 267.3 kB / 4.826 GB, free: 75.93 MB / 0.8855 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.05821/13.49, allocations: 30.01 MB / 4.855 GB, free: 45.01 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009163/13.5, allocations: 5.08 MB / 4.86 GB, free: 39.92 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004576/13.51, allocations: 2.565 MB / 4.862 GB, free: 37.35 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002391/13.51, allocations: 2.411 MB / 4.865 GB, free: 34.44 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005944/13.52, allocations: 2.769 MB / 4.867 GB, free: 31.64 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=421): time 1.552e-05/13.52, allocations: 4 kB / 4.867 GB, free: 31.63 MB / 0.8855 GB Notification: Performance of matching and sorting (n=421): time 0.1638/13.68, allocations: 17.23 MB / 4.884 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/13.68, allocations: 381.6 kB / 4.885 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01303/13.69, allocations: 4.511 MB / 4.889 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001797/13.69, allocations: 29.7 kB / 4.889 GB, free: 9.391 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004171/13.7, allocations: 3.121 MB / 4.892 GB, free: 6.238 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.003203/13.7, allocations: 1.362 MB / 4.893 GB, free: 4.855 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001427/13.7, allocations: 0 / 4.893 GB, free: 4.855 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0005208/13.7, allocations: 483.5 kB / 4.894 GB, free: 4.375 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004709/13.71, allocations: 2.035 MB / 4.896 GB, free: 2.332 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0055/13.71, allocations: 2.984 MB / 4.899 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9429/14.66, allocations: 15.03 MB / 4.913 GB, free: 137.3 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.937e-05/14.66, allocations: 6.219 kB / 4.913 GB, free: 137.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.1731/14.83, allocations: 18.17 MB / 4.931 GB, free: 137.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002504/14.83, allocations: 10.57 MB / 4.941 GB, free: 126 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.481e-05/14.83, allocations: 22.75 kB / 4.941 GB, free: 126 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000151/14.83, allocations: 45.72 kB / 4.942 GB, free: 126 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008017/14.84, allocations: 1.273 MB / 4.943 GB, free: 126 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001355/14.84, allocations: 58.61 kB / 4.943 GB, free: 126 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009666/14.85, allocations: 0.6759 MB / 4.944 GB, free: 126 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001802/14.85, allocations: 229.3 kB / 4.944 GB, free: 126 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/14.85, allocations: 5.188 kB / 4.944 GB, free: 126 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1673/15.02, allocations: 17.59 MB / 4.961 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.588e-05/15.02, allocations: 21.84 kB / 4.961 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.928e-05/15.02, allocations: 48.22 kB / 4.961 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007262/15.03, allocations: 1.265 MB / 4.962 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.391e-05/15.03, allocations: 57.73 kB / 4.962 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008714/15.04, allocations: 0.6185 MB / 4.963 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001685/15.04, allocations: 228.4 kB / 4.963 GB, free: 125.3 MB / 0.9011 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 (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.00268/15.04, allocations: 216.3 kB / 4.963 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002608/15.04, allocations: 0.553 MB / 4.964 GB, free: 124.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1638/15.21, allocations: 18.3 MB / 4.982 GB, free: 123.7 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.783e-05/15.21, allocations: 49.38 kB / 4.982 GB, free: 123.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.202e-05/15.21, allocations: 0 / 4.982 GB, free: 123.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1607/15.37, allocations: 16.86 MB / 4.998 GB, free: 122.6 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1852/15.55, allocations: 25.6 MB / 5.023 GB, free: 120.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-05/15.55, allocations: 7.281 kB / 5.023 GB, free: 120.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00651/15.56, allocations: 1.045 MB / 5.024 GB, free: 120.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-05/15.56, allocations: 22.12 kB / 5.024 GB, free: 120.6 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001118/15.56, allocations: 97.88 kB / 5.024 GB, free: 120.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.621e-05/15.56, allocations: 22.94 kB / 5.024 GB, free: 120.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.968e-06/15.56, allocations: 9.844 kB / 5.024 GB, free: 120.6 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1682/15.73, allocations: 21.67 MB / 5.046 GB, free: 117.7 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007168/15.74, allocations: 1.601 MB / 5.047 GB, free: 117.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004431/15.74, allocations: 23.22 kB / 5.047 GB, free: 117.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008957/15.75, allocations: 432.6 kB / 5.048 GB, free: 117.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00142/15.75, allocations: 271.3 kB / 5.048 GB, free: 117.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001557/15.75, allocations: 198.5 kB / 5.048 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.009263/15.76, allocations: 3.48 MB / 5.051 GB, free: 117.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.21e-07/15.76, allocations: 0 / 5.051 GB, free: 117.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01773/15.78, allocations: 3.489 MB / 5.055 GB, free: 116.8 MB / 0.9011 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 (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.005031/15.79, allocations: 1.583 MB / 5.056 GB, free: 116.5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01581/15.8, allocations: 8.023 MB / 5.064 GB, free: 116.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/15.8, allocations: 9.25 kB / 5.064 GB, free: 116.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004703/15.81, allocations: 2.498 MB / 5.067 GB, free: 116.3 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01595/15.82, allocations: 2.552 MB / 5.069 GB, free: 116.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02869/15.85, allocations: 11.31 MB / 5.08 GB, free: 113.4 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006811/15.86, allocations: 4.438 MB / 5.084 GB, free: 112.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.02162/15.88, allocations: 3.796 MB / 5.088 GB, free: 110.9 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003534/15.88, allocations: 488.8 kB / 5.089 GB, free: 110.5 MB / 0.9011 GB Notification: Performance of SimCode: time 2.544e-06/15.88, allocations: 6.156 kB / 5.089 GB, free: 110.5 MB / 0.9011 GB Notification: Performance of Templates: time 0.1812/16.06, allocations: 114.7 MB / 5.201 GB, free: 16.96 MB / 0.9011 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