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.544/2.544, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001497/0.001497, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.0009172/0.0009172, allocations: 95.89 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.846e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3413, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.168/6.509, allocations: 2.201 GB / 3.42 GB, free: 64.07 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/6.509, allocations: 88.45 kB / 3.42 GB, free: 63.99 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.187/13.7, allocations: 1.501 GB / 4.921 GB, free: 169.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.563e-06/13.7, allocations: 0 / 4.921 GB, free: 169.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001182/13.7, allocations: 199.7 kB / 4.921 GB, free: 169.2 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.02457/13.72, allocations: 6.7 MB / 4.928 GB, free: 166.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/13.72, allocations: 15.78 kB / 4.928 GB, free: 166.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0182/13.74, allocations: 2.565 MB / 4.93 GB, free: 166.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02341/13.76, allocations: 8.107 MB / 4.938 GB, free: 165.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005565/13.76, allocations: 458.9 kB / 4.939 GB, free: 165.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003009/13.77, allocations: 0.5858 MB / 4.939 GB, free: 165.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02647/13.79, allocations: 8.046 MB / 4.947 GB, free: 164.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002734/13.79, allocations: 20.78 kB / 4.947 GB, free: 164.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002279/13.8, allocations: 255.2 kB / 4.947 GB, free: 164.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002805/13.8, allocations: 281.6 kB / 4.948 GB, free: 164.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01897/13.82, allocations: 7.42 MB / 4.955 GB, free: 164.3 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.07133/13.89, allocations: 31.7 MB / 4.986 GB, free: 153.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/13.9, allocations: 5.276 MB / 4.991 GB, free: 153.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004844/13.9, allocations: 2.724 MB / 4.994 GB, free: 153.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002331/13.9, allocations: 2.404 MB / 4.996 GB, free: 150.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005945/13.91, allocations: 2.987 MB / 4.999 GB, free: 150.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=424): time 6.823e-06/13.91, allocations: 0 / 4.999 GB, free: 150.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=424): time 0.01071/13.92, allocations: 4.993 MB / 5.004 GB, free: 150.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/13.92, allocations: 381.9 kB / 5.004 GB, free: 149.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01001/13.93, allocations: 5.301 MB / 5.009 GB, free: 149.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001867/13.93, allocations: 109.2 kB / 5.009 GB, free: 149.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003477/13.94, allocations: 3.159 MB / 5.012 GB, free: 148.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002664/13.94, allocations: 1.431 MB / 5.014 GB, free: 147.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004463/13.94, allocations: 87.25 kB / 5.014 GB, free: 147.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003664/13.94, allocations: 487 kB / 5.014 GB, free: 147.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003806/13.94, allocations: 2.134 MB / 5.016 GB, free: 147.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004333/13.95, allocations: 3.121 MB / 5.02 GB, free: 146.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004315/13.95, allocations: 2.604 MB / 5.022 GB, free: 146.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/13.95, allocations: 6.562 kB / 5.022 GB, free: 146.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=565) (initialization): time 0.01187/13.96, allocations: 6.071 MB / 5.028 GB, free: 145.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00222/13.97, allocations: 10.89 MB / 5.039 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.311e-05/13.97, allocations: 20.94 kB / 5.039 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.469e-05/13.97, allocations: 46.62 kB / 5.039 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007381/13.97, allocations: 1.302 MB / 5.04 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.327e-05/13.97, allocations: 57.58 kB / 5.04 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0102/13.98, allocations: 0.8514 MB / 5.041 GB, free: 134.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002135/13.99, allocations: 222.4 kB / 5.041 GB, free: 134.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/13.99, allocations: 6.656 kB / 5.041 GB, free: 134.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01373/14, allocations: 5.533 MB / 5.046 GB, free: 134.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-05/14, allocations: 25.64 kB / 5.047 GB, free: 134.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.948e-05/14, allocations: 49.16 kB / 5.047 GB, free: 134.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006911/14.01, allocations: 1.292 MB / 5.048 GB, free: 134.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.48e-05/14.01, allocations: 58.72 kB / 5.048 GB, free: 134.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009514/14.02, allocations: 0.787 MB / 5.049 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/14.02, allocations: 237 kB / 5.049 GB, free: 133.9 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.001815/14.02, allocations: 377.2 kB / 5.049 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002382/14.02, allocations: 0.6038 MB / 5.05 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/14.04, allocations: 6.223 MB / 5.056 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-05/14.04, allocations: 42.62 kB / 5.056 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/14.04, allocations: 3.953 kB / 5.056 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007395/14.04, allocations: 4.61 MB / 5.06 GB, free: 130.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02905/14.07, allocations: 14.39 MB / 5.074 GB, free: 124.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/14.07, allocations: 7.844 kB / 5.074 GB, free: 124.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006002/14.08, allocations: 1.061 MB / 5.076 GB, free: 124.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.395e-05/14.08, allocations: 26.94 kB / 5.076 GB, free: 124.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006637/14.08, allocations: 146.4 kB / 5.076 GB, free: 124.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-05/14.08, allocations: 30.83 kB / 5.076 GB, free: 124.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/14.08, allocations: 6.438 kB / 5.076 GB, free: 124.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/14.09, allocations: 9.836 MB / 5.085 GB, free: 119.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006262/14.1, allocations: 1.704 MB / 5.087 GB, free: 118.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00304/14.1, allocations: 102.8 kB / 5.087 GB, free: 118 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008182/14.11, allocations: 0.5253 MB / 5.088 GB, free: 117.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007819/14.11, allocations: 274.9 kB / 5.088 GB, free: 117.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006753/14.11, allocations: 206.5 kB / 5.088 GB, free: 117.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.008298/14.12, allocations: 4.337 MB / 5.092 GB, free: 116.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.81e-07/14.12, allocations: 0 / 5.092 GB, free: 116.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01695/14.14, allocations: 3.693 MB / 5.096 GB, free: 115.4 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.005294/14.14, allocations: 1.687 MB / 5.098 GB, free: 115 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.02024/14.16, allocations: 8.491 MB / 5.106 GB, free: 111.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.683e-05/14.16, allocations: 5.344 kB / 5.106 GB, free: 111.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.006095/14.17, allocations: 2.626 MB / 5.108 GB, free: 110.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01931/14.19, allocations: 3.185 MB / 5.112 GB, free: 110.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0364/14.23, allocations: 11.93 MB / 5.123 GB, free: 103.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006734/14.23, allocations: 4.489 MB / 5.128 GB, free: 100.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.02066/14.25, allocations: 4.168 MB / 5.132 GB, free: 97.59 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003131/14.26, allocations: 0.5116 MB / 5.132 GB, free: 97.17 MB / 1.167 GB Notification: Performance of SimCode: time 2.795e-06/14.26, allocations: 0.6562 kB / 5.132 GB, free: 97.17 MB / 1.167 GB Notification: Performance of Templates: time 0.2209/14.48, allocations: 137.2 MB / 5.266 GB, free: 12.48 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