Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.489/2.489, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001081/0.001081, allocations: 168.9 kB / 492.3 MB, free: 0.6211 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.563/1.563, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008768/0.0008769, allocations: 91.94 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.204e-05/3.206e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3031, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.381/6.684, allocations: 2.201 GB / 3.413 GB, free: 99.99 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003488/6.685, allocations: 95.94 kB / 3.413 GB, free: 99.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.014/13.7, allocations: 1.501 GB / 4.914 GB, free: 171.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.074e-06/13.7, allocations: 0 / 4.914 GB, free: 171.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001224/13.7, allocations: 204.5 kB / 4.915 GB, free: 171.1 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.02811/13.73, allocations: 6.707 MB / 4.921 GB, free: 168.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/13.73, allocations: 7.844 kB / 4.921 GB, free: 168.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0179/13.75, allocations: 2.567 MB / 4.924 GB, free: 168.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02499/13.77, allocations: 8.099 MB / 4.932 GB, free: 167.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005347/13.77, allocations: 455.4 kB / 4.932 GB, free: 167.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003468/13.78, allocations: 0.5838 MB / 4.933 GB, free: 167.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02648/13.8, allocations: 8.049 MB / 4.94 GB, free: 166.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002649/13.8, allocations: 17.31 kB / 4.94 GB, free: 166.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002381/13.8, allocations: 255.8 kB / 4.941 GB, free: 166.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003126/13.8, allocations: 277.5 kB / 4.941 GB, free: 166.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0182/13.82, allocations: 7.424 MB / 4.948 GB, free: 166.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.06591/13.89, allocations: 31.7 MB / 4.979 GB, free: 155.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009604/13.9, allocations: 5.29 MB / 4.984 GB, free: 155.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005105/13.9, allocations: 2.72 MB / 4.987 GB, free: 155.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002473/13.91, allocations: 2.407 MB / 4.989 GB, free: 152.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009147/13.92, allocations: 2.979 MB / 4.992 GB, free: 152.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=424): time 2.77e-05/13.92, allocations: 3.25 kB / 4.992 GB, free: 152.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=424): time 0.02428/13.94, allocations: 5.001 MB / 4.997 GB, free: 152.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002572/13.94, allocations: 380.7 kB / 4.997 GB, free: 151.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01601/13.96, allocations: 5.297 MB / 5.003 GB, free: 151.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001976/13.96, allocations: 108.1 kB / 5.003 GB, free: 151.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004352/13.96, allocations: 3.156 MB / 5.006 GB, free: 150.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002911/13.97, allocations: 1.437 MB / 5.007 GB, free: 149.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000491/13.97, allocations: 92.41 kB / 5.007 GB, free: 149.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003298/13.97, allocations: 481.7 kB / 5.008 GB, free: 149.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003778/13.97, allocations: 2.136 MB / 5.01 GB, free: 149.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004676/13.97, allocations: 3.118 MB / 5.013 GB, free: 148 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004932/13.98, allocations: 2.604 MB / 5.015 GB, free: 148 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.125e-05/13.98, allocations: 3.906 kB / 5.015 GB, free: 148 MB / 1.167 GB Notification: Performance of matching and sorting (n=565) (initialization): time 0.01321/13.99, allocations: 6.07 MB / 5.021 GB, free: 147.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002277/14, allocations: 10.9 MB / 5.032 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-05/14, allocations: 23.59 kB / 5.032 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.046e-05/14, allocations: 45.44 kB / 5.032 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007682/14, allocations: 1.292 MB / 5.033 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.946e-05/14, allocations: 61.75 kB / 5.033 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009456/14.01, allocations: 0.8454 MB / 5.034 GB, free: 136.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001555/14.01, allocations: 231.6 kB / 5.034 GB, free: 136.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/14.01, allocations: 5.938 kB / 5.034 GB, free: 136.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01019/14.02, allocations: 5.533 MB / 5.04 GB, free: 136 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-05/14.02, allocations: 21.66 kB / 5.04 GB, free: 136 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-05/14.02, allocations: 45.75 kB / 5.04 GB, free: 136 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006587/14.03, allocations: 1.293 MB / 5.041 GB, free: 136 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.41e-05/14.03, allocations: 58.34 kB / 5.041 GB, free: 136 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00859/14.04, allocations: 0.7935 MB / 5.042 GB, free: 135.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001463/14.04, allocations: 228.9 kB / 5.042 GB, free: 135.8 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.001715/14.04, allocations: 373 kB / 5.043 GB, free: 135.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002505/14.05, allocations: 0.6114 MB / 5.043 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01599/14.06, allocations: 6.216 MB / 5.049 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-05/14.06, allocations: 43.97 kB / 5.049 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/14.06, allocations: 8.484 kB / 5.049 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007936/14.07, allocations: 4.616 MB / 5.054 GB, free: 134.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03/14.1, allocations: 14.38 MB / 5.068 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/14.1, allocations: 11.97 kB / 5.068 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006371/14.11, allocations: 1.062 MB / 5.069 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.141e-05/14.11, allocations: 22.44 kB / 5.069 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009827/14.11, allocations: 147 kB / 5.069 GB, free: 128.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.014e-05/14.11, allocations: 27.06 kB / 5.069 GB, free: 128.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/14.11, allocations: 13.42 kB / 5.069 GB, free: 128.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0168/14.12, allocations: 9.832 MB / 5.079 GB, free: 123.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006765/14.13, allocations: 1.712 MB / 5.08 GB, free: 122.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003085/14.13, allocations: 91.91 kB / 5.08 GB, free: 122.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009313/14.14, allocations: 0.5292 MB / 5.081 GB, free: 122.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001295/14.14, allocations: 278.4 kB / 5.081 GB, free: 122.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009291/14.15, allocations: 213.4 kB / 5.081 GB, free: 122 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.009295/14.16, allocations: 4.334 MB / 5.086 GB, free: 120.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.773e-06/14.16, allocations: 0 / 5.086 GB, free: 120.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01889/14.17, allocations: 3.693 MB / 5.089 GB, free: 119.6 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.005493/14.18, allocations: 1.691 MB / 5.091 GB, free: 119.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01998/14.2, allocations: 8.494 MB / 5.099 GB, free: 116.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.513e-05/14.2, allocations: 6.844 kB / 5.099 GB, free: 116.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.006199/14.21, allocations: 2.625 MB / 5.102 GB, free: 115.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01958/14.23, allocations: 3.164 MB / 5.105 GB, free: 114.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02977/14.26, allocations: 11.92 MB / 5.117 GB, free: 110.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005571/14.26, allocations: 4.493 MB / 5.121 GB, free: 107.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.02215/14.28, allocations: 4.142 MB / 5.125 GB, free: 104.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003311/14.29, allocations: 0.5037 MB / 5.125 GB, free: 104.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.603e-06/14.29, allocations: 3.938 kB / 5.125 GB, free: 104.1 MB / 1.167 GB Notification: Performance of Templates: time 0.2096/14.5, allocations: 137.1 MB / 5.259 GB, free: 6.734 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches