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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.155/2.155, allocations: 390.5 MB / 398 MB, free: 11 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.001102/0.001102, allocations: 176.9 kB / 491.2 MB, free: 1.625 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.445/1.445, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.001064/0.001064, allocations: 108.2 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.86e-05/1.863e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3015, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.318/5.62, allocations: 2.2 GB / 3.413 GB, free: 98.18 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/5.62, allocations: 88.92 kB / 3.413 GB, free: 98.09 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.133/11.75, allocations: 1.494 GB / 4.907 GB, free: 171 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.515e-06/11.75, allocations: 0 / 4.907 GB, free: 171 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001209/11.75, allocations: 201.4 kB / 4.907 GB, free: 171 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.02565/11.78, allocations: 6.708 MB / 4.913 GB, free: 168.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/11.78, allocations: 6.875 kB / 4.913 GB, free: 168.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01806/11.8, allocations: 2.569 MB / 4.916 GB, free: 167.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02707/11.82, allocations: 8.099 MB / 4.924 GB, free: 166.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004013/11.83, allocations: 194.4 kB / 4.924 GB, free: 166.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00292/11.83, allocations: 351.9 kB / 4.924 GB, free: 166.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01741/11.85, allocations: 6.96 MB / 4.931 GB, free: 166.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02469/11.87, allocations: 7.208 MB / 4.938 GB, free: 166.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004551/11.87, allocations: 12.69 kB / 4.938 GB, free: 166.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002952/11.87, allocations: 7.688 kB / 4.938 GB, free: 166.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003698/11.87, allocations: 292.4 kB / 4.938 GB, free: 166.1 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.06915/11.94, allocations: 30.54 MB / 4.968 GB, free: 155.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/11.95, allocations: 5.052 MB / 4.973 GB, free: 155.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005133/11.96, allocations: 2.596 MB / 4.976 GB, free: 155.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00265/11.96, allocations: 2.405 MB / 4.978 GB, free: 152.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007237/11.97, allocations: 2.856 MB / 4.981 GB, free: 152.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=424): time 1.48e-05/11.97, allocations: 0 / 4.981 GB, free: 152.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=424): time 0.1682/12.14, allocations: 17.51 MB / 4.998 GB, free: 152.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/12.14, allocations: 380.4 kB / 4.998 GB, free: 152 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008478/12.15, allocations: 4.521 MB / 5.003 GB, free: 151.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001628/12.15, allocations: 29.67 kB / 5.003 GB, free: 151.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003236/12.15, allocations: 3.177 MB / 5.006 GB, free: 150.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002606/12.15, allocations: 1.371 MB / 5.007 GB, free: 149.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003448/12.15, allocations: 0 / 5.007 GB, free: 149.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003085/12.15, allocations: 487.9 kB / 5.008 GB, free: 149.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003123/12.16, allocations: 2.051 MB / 5.01 GB, free: 149.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003821/12.16, allocations: 3.01 MB / 5.013 GB, free: 148.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1539/12.32, allocations: 15.28 MB / 5.028 GB, free: 147.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.741e-05/12.32, allocations: 3.844 kB / 5.028 GB, free: 147.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=565) (initialization): time 0.1634/12.48, allocations: 18.44 MB / 5.046 GB, free: 146.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002243/12.48, allocations: 10.59 MB / 5.056 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.734e-05/12.48, allocations: 21.53 kB / 5.056 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.409e-05/12.48, allocations: 52.3 kB / 5.056 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007336/12.49, allocations: 1.294 MB / 5.057 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.484e-05/12.49, allocations: 57.67 kB / 5.057 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009233/12.5, allocations: 0.6931 MB / 5.058 GB, free: 134.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001728/12.5, allocations: 225.6 kB / 5.058 GB, free: 134.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/12.5, allocations: 4.844 kB / 5.058 GB, free: 134.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1683/12.67, allocations: 17.86 MB / 5.076 GB, free: 133.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.546e-05/12.67, allocations: 22.28 kB / 5.076 GB, free: 133.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.913e-05/12.67, allocations: 45.91 kB / 5.076 GB, free: 133.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007444/12.68, allocations: 1.298 MB / 5.077 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.769e-05/12.68, allocations: 55.81 kB / 5.077 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008722/12.68, allocations: 0.6367 MB / 5.078 GB, free: 133.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002037/12.69, allocations: 226.4 kB / 5.078 GB, free: 133.4 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.002429/12.69, allocations: 211 kB / 5.078 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1637/12.85, allocations: 17.51 MB / 5.095 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002646/12.86, allocations: 0.5506 MB / 5.096 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1713/13.03, allocations: 18.61 MB / 5.114 GB, free: 123.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.521e-05/13.03, allocations: 46.88 kB / 5.114 GB, free: 123.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/13.03, allocations: 7.078 kB / 5.114 GB, free: 123.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1614/13.19, allocations: 17.13 MB / 5.131 GB, free: 113.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1806/13.37, allocations: 26.02 MB / 5.156 GB, free: 91.27 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/13.37, allocations: 4 kB / 5.156 GB, free: 91.27 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006257/13.38, allocations: 1.07 MB / 5.157 GB, free: 90.24 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-05/13.38, allocations: 25.78 kB / 5.157 GB, free: 90.21 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001088/13.38, allocations: 102 kB / 5.157 GB, free: 90.12 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.038e-05/13.38, allocations: 21.12 kB / 5.157 GB, free: 90.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/13.38, allocations: 11.75 kB / 5.157 GB, free: 90.09 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1665/13.54, allocations: 22 MB / 5.179 GB, free: 67.75 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005655/13.55, allocations: 1.628 MB / 5.18 GB, free: 66.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00281/13.55, allocations: 23.98 kB / 5.18 GB, free: 66.07 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008148/13.56, allocations: 439.2 kB / 5.181 GB, free: 65.64 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001191/13.56, allocations: 280.7 kB / 5.181 GB, free: 65.38 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000854/13.56, allocations: 207.1 kB / 5.181 GB, free: 65.18 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00724/13.57, allocations: 3.492 MB / 5.185 GB, free: 61.71 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.51e-07/13.57, allocations: 0 / 5.185 GB, free: 61.71 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.02165/13.59, allocations: 3.58 MB / 5.188 GB, free: 58.13 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.1726/13.76, allocations: 25.33 MB / 5.213 GB, free: 33.01 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0139/13.78, allocations: 8.106 MB / 5.221 GB, free: 25.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-05/13.78, allocations: 5.75 kB / 5.221 GB, free: 25.09 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004111/13.78, allocations: 2.53 MB / 5.223 GB, free: 22.66 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01523/13.8, allocations: 2.552 MB / 5.226 GB, free: 20.25 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03317/13.83, allocations: 13.24 MB / 5.239 GB, free: 6.965 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004035/13.83, allocations: 4.491 MB / 5.243 GB, free: 2.434 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01952/13.85, allocations: 3.848 MB / 5.247 GB, free: 14.88 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007917/13.86, allocations: 3.072 MB / 5.25 GB, free: 11.81 MB / 1.182 GB Notification: Performance of SimCode: time 2.324e-06/13.86, allocations: 4 kB / 5.25 GB, free: 11.81 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.094/14.96, allocations: 172.1 MB / 5.418 GB, free: 174.6 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/14.96, allocations: 187.4 kB / 5.418 GB, free: 174.4 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.686/22.64, allocations: 0 / 5.418 GB, free: 174.4 MB / 1.198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series_res.mat does not exist to compare? outputFormat=mat