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.421/1.421, allocations: 249.3 MB / 261.8 MB, free: 5.91 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.001021/0.001021, allocations: 180.4 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.2 MB / 0.572 GB, free: 10.75 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.0009772/0.0009774, allocations: 86.55 kB / 0.6764 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.102e-05/3.104e-05, allocations: 4 kB / 0.7879 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2341, allocations: 106.3 MB / 0.8918 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.143/7.377, allocations: 2.475 GB / 3.367 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/7.378, allocations: 95.12 kB / 3.367 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.148/13.53, allocations: 1.442 GB / 4.809 GB, free: 68.32 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.447e-06/13.53, allocations: 0 / 4.809 GB, free: 68.32 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001889/13.53, allocations: 187.8 kB / 4.809 GB, free: 68.13 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.02864/13.56, allocations: 6.542 MB / 4.816 GB, free: 61.52 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.738e-05/13.56, allocations: 19.95 kB / 4.816 GB, free: 61.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01778/13.57, allocations: 2.461 MB / 4.818 GB, free: 59.02 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02495/13.6, allocations: 7.839 MB / 4.826 GB, free: 51.14 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005377/13.6, allocations: 439.7 kB / 4.826 GB, free: 50.71 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003431/13.6, allocations: 0.5702 MB / 4.827 GB, free: 50.14 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02483/13.63, allocations: 7.804 MB / 4.834 GB, free: 42.12 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004682/13.63, allocations: 11.84 kB / 4.834 GB, free: 42.11 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003088/13.63, allocations: 248 kB / 4.835 GB, free: 41.86 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002965/13.63, allocations: 263.2 kB / 4.835 GB, free: 41.61 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02087/13.65, allocations: 7.275 MB / 4.842 GB, free: 34.32 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.07307/13.73, allocations: 31.12 MB / 4.872 GB, free: 2.215 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01192/13.74, allocations: 5.316 MB / 4.877 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006463/13.74, allocations: 2.694 MB / 4.88 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003412/13.75, allocations: 2.399 MB / 4.882 GB, free: 7.297 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00781/13.76, allocations: 2.904 MB / 4.885 GB, free: 4.359 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=421): time 9.257e-06/13.76, allocations: 0 / 4.885 GB, free: 4.359 MB / 0.9011 GB Notification: Performance of matching and sorting (n=421): time 0.01635/13.77, allocations: 4.933 MB / 4.89 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002646/13.77, allocations: 381.4 kB / 4.89 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01576/13.79, allocations: 5.174 MB / 4.895 GB, free: 9.75 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002135/13.79, allocations: 109.7 kB / 4.896 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.005371/13.8, allocations: 3.112 MB / 4.899 GB, free: 6.504 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003377/13.8, allocations: 1.429 MB / 4.9 GB, free: 5.055 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001483/13.8, allocations: 88 kB / 4.9 GB, free: 4.969 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0006893/13.8, allocations: 479.7 kB / 4.901 GB, free: 4.492 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005822/13.81, allocations: 2.129 MB / 4.903 GB, free: 2.355 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6935/14.5, allocations: 3.091 MB / 4.906 GB, free: 140.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00609/14.51, allocations: 2.575 MB / 4.908 GB, free: 140.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.757e-05/14.51, allocations: 10.03 kB / 4.908 GB, free: 140.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.01377/14.52, allocations: 6.011 MB / 4.914 GB, free: 140.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002012/14.52, allocations: 10.82 MB / 4.925 GB, free: 129.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.708e-05/14.52, allocations: 22.53 kB / 4.925 GB, free: 129.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001107/14.52, allocations: 47.75 kB / 4.925 GB, free: 129.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007763/14.53, allocations: 1.272 MB / 4.926 GB, free: 129.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001347/14.53, allocations: 57.2 kB / 4.926 GB, free: 129.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009455/14.54, allocations: 0.8195 MB / 4.927 GB, free: 129.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001932/14.54, allocations: 228.6 kB / 4.927 GB, free: 129.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/14.54, allocations: 3.531 kB / 4.927 GB, free: 129.5 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01531/14.56, allocations: 5.487 MB / 4.932 GB, free: 129.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001142/14.56, allocations: 22.62 kB / 4.932 GB, free: 129.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001217/14.56, allocations: 46.89 kB / 4.932 GB, free: 129.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007394/14.57, allocations: 1.269 MB / 4.934 GB, free: 129.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001482/14.57, allocations: 55.83 kB / 4.934 GB, free: 129.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008318/14.57, allocations: 0.7607 MB / 4.934 GB, free: 129.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001354/14.58, allocations: 226.8 kB / 4.935 GB, free: 129.4 MB / 0.9167 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.002467/14.58, allocations: 376.8 kB / 4.935 GB, free: 129.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003008/14.58, allocations: 0.592 MB / 4.936 GB, free: 129 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02074/14.6, allocations: 6.141 MB / 4.942 GB, free: 128.8 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001061/14.6, allocations: 43.78 kB / 4.942 GB, free: 128.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.471e-05/14.6, allocations: 5.562 kB / 4.942 GB, free: 128.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01125/14.61, allocations: 4.555 MB / 4.946 GB, free: 128.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03509/14.65, allocations: 14.17 MB / 4.96 GB, free: 127.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/14.65, allocations: 5.562 kB / 4.96 GB, free: 127.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005777/14.65, allocations: 1.042 MB / 4.961 GB, free: 127.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.426e-05/14.65, allocations: 23.88 kB / 4.961 GB, free: 127.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006238/14.66, allocations: 141.9 kB / 4.961 GB, free: 127.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.747e-05/14.66, allocations: 36.06 kB / 4.961 GB, free: 127.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/14.66, allocations: 8.812 kB / 4.961 GB, free: 127.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/14.67, allocations: 9.698 MB / 4.971 GB, free: 125 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0056/14.68, allocations: 1.665 MB / 4.972 GB, free: 124.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002282/14.68, allocations: 92.73 kB / 4.972 GB, free: 124.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007439/14.69, allocations: 0.5033 MB / 4.973 GB, free: 124.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007928/14.69, allocations: 277.8 kB / 4.973 GB, free: 124.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006427/14.69, allocations: 195.4 kB / 4.973 GB, free: 124.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.007761/14.69, allocations: 4.238 MB / 4.977 GB, free: 124.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.172e-06/14.69, allocations: 0 / 4.977 GB, free: 124.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02063/14.72, allocations: 3.635 MB / 4.981 GB, free: 124.1 MB / 0.9167 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.007148/14.72, allocations: 1.627 MB / 4.983 GB, free: 123.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02018/14.74, allocations: 8.41 MB / 4.991 GB, free: 123.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.201e-05/14.74, allocations: 4.344 kB / 4.991 GB, free: 123.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.006011/14.75, allocations: 2.595 MB / 4.993 GB, free: 123.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0209/14.77, allocations: 3.146 MB / 4.996 GB, free: 123.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03134/14.8, allocations: 11.72 MB / 5.008 GB, free: 121.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00786/14.81, allocations: 4.433 MB / 5.012 GB, free: 120.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.02293/14.83, allocations: 4.097 MB / 5.016 GB, free: 119.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00417/14.84, allocations: 0.5027 MB / 5.017 GB, free: 119.9 MB / 0.9167 GB Notification: Performance of SimCode: time 2.374e-06/14.84, allocations: 0 / 5.017 GB, free: 119.9 MB / 0.9167 GB Notification: Performance of Templates: time 0.208/15.04, allocations: 134.9 MB / 5.148 GB, free: 73.63 MB / 0.9167 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