Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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.EN12975NPanels,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",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.475/2.475, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001166/0.001166, allocations: 183.9 kB / 0.4901 GB, free: 2.262 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.665/1.665, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.001061/0.001061, allocations: 107.9 kB / 0.9396 GB, free: 2.812 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005117/0.0005112, allocations: 13.69 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.365, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.811/6.176, allocations: 2.198 GB / 3.428 GB, free: 231.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/6.176, allocations: 96.86 kB / 3.428 GB, free: 231.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 15.54/21.72, allocations: 4.252 GB / 7.68 GB, free: 18.41 MB / 1.214 GB Notification: Performance of FrontEnd: time 5.27e-06/21.72, allocations: 0 / 7.68 GB, free: 18.41 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.005396/21.72, allocations: 0.597 MB / 7.681 GB, free: 17.81 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4512 * Number of variables: 4512 Notification: Performance of Generate backend data structure: time 1.77/23.49, allocations: 22.45 MB / 7.703 GB, free: 121.6 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.398e-05/23.49, allocations: 10.05 kB / 7.703 GB, free: 121.6 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0169/23.51, allocations: 2.374 MB / 7.705 GB, free: 121.5 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0334/23.54, allocations: 3.798 MB / 7.709 GB, free: 120.2 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1319/23.68, allocations: 29.83 MB / 7.738 GB, free: 118.5 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003435/23.68, allocations: 1.247 MB / 7.739 GB, free: 118.5 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0142/23.69, allocations: 1.674 MB / 7.741 GB, free: 118.5 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1233/23.82, allocations: 25.74 MB / 7.766 GB, free: 115.9 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001961/23.82, allocations: 67.77 kB / 7.766 GB, free: 115.9 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01151/23.83, allocations: 0.7255 MB / 7.767 GB, free: 115.9 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001574/23.83, allocations: 0.878 MB / 7.767 GB, free: 115.8 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09375/23.93, allocations: 22.58 MB / 7.789 GB, free: 115.7 MB / 1.214 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.2753/24.2, allocations: 99.29 MB / 7.886 GB, free: 79.07 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05335/24.25, allocations: 15.98 MB / 7.902 GB, free: 78.42 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005019/24.26, allocations: 2.034 MB / 7.904 GB, free: 76.45 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0359/24.3, allocations: 8.428 MB / 7.912 GB, free: 76.21 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1022): time 3.145e-05/24.3, allocations: 0 / 7.912 GB, free: 76.21 MB / 1.214 GB Notification: Performance of matching and sorting (n=1022): time 0.08742/24.38, allocations: 20.05 MB / 7.932 GB, free: 75.09 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002286/24.38, allocations: 425.2 kB / 7.932 GB, free: 74.71 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06383/24.45, allocations: 17.75 MB / 7.95 GB, free: 72.06 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.005038/24.45, allocations: 234 kB / 7.95 GB, free: 71.89 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.02049/24.47, allocations: 9.858 MB / 7.959 GB, free: 64.31 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.009981/24.48, allocations: 3.579 MB / 7.963 GB, free: 61.57 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004121/24.49, allocations: 254.2 kB / 7.963 GB, free: 61.38 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.00187/24.49, allocations: 0.8336 MB / 7.964 GB, free: 60.84 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02288/24.51, allocations: 6.843 MB / 7.971 GB, free: 58.58 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02667/24.54, allocations: 10.46 MB / 7.981 GB, free: 51.96 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02655/24.56, allocations: 8.796 MB / 7.989 GB, free: 48.73 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001793/24.57, allocations: 27.28 kB / 7.989 GB, free: 48.73 MB / 1.214 GB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.07658/24.64, allocations: 19.41 MB / 8.008 GB, free: 42.23 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.03619/24.68, allocations: 73.19 MB / 8.08 GB, free: 29.43 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000731/24.68, allocations: 105.3 kB / 8.08 GB, free: 29.43 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004134/24.68, allocations: 189.1 kB / 8.08 GB, free: 29.43 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02662/24.71, allocations: 3.486 MB / 8.084 GB, free: 29.32 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004818/24.71, allocations: 237.5 kB / 8.084 GB, free: 29.32 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0366/24.74, allocations: 2.396 MB / 8.086 GB, free: 28.25 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005486/24.75, allocations: 0.6131 MB / 8.087 GB, free: 28.16 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/24.75, allocations: 4.688 kB / 8.087 GB, free: 28.16 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05012/24.8, allocations: 17.94 MB / 8.104 GB, free: 21.77 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003688/24.8, allocations: 111.3 kB / 8.104 GB, free: 21.77 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001844/24.8, allocations: 187.6 kB / 8.105 GB, free: 21.77 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01944/24.82, allocations: 3.483 MB / 8.108 GB, free: 21.47 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003518/24.82, allocations: 240.4 kB / 8.108 GB, free: 21.43 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02737/24.85, allocations: 2.143 MB / 8.11 GB, free: 20.48 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004723/24.85, allocations: 0.6174 MB / 8.111 GB, free: 20.38 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 483 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1638): * Single equations (assignments): 1638 * 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.02693/24.88, allocations: 7.718 MB / 8.118 GB, free: 17.2 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01117/24.89, allocations: 1.705 MB / 8.12 GB, free: 16.32 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05899/24.95, allocations: 16.35 MB / 8.136 GB, free: 6.891 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001081/24.95, allocations: 99.09 kB / 8.136 GB, free: 6.797 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.972e-05/24.95, allocations: 4 kB / 8.136 GB, free: 6.793 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05599/25, allocations: 14.28 MB / 8.15 GB, free: 15.57 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.234/26.24, allocations: 38.66 MB / 8.188 GB, free: 189.6 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001603/26.24, allocations: 16.08 kB / 8.188 GB, free: 189.6 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01825/26.26, allocations: 2.471 MB / 8.19 GB, free: 189.6 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003131/26.26, allocations: 55.81 kB / 8.19 GB, free: 189.6 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00382/26.26, allocations: 345.1 kB / 8.191 GB, free: 189.6 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002576/26.26, allocations: 62.41 kB / 8.191 GB, free: 189.6 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.526e-05/26.26, allocations: 23.53 kB / 8.191 GB, free: 189.6 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07273/26.33, allocations: 31.57 MB / 8.222 GB, free: 180.2 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02502/26.36, allocations: 4.669 MB / 8.226 GB, free: 180.1 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01311/26.37, allocations: 239.8 kB / 8.226 GB, free: 180.1 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02671/26.4, allocations: 1.218 MB / 8.228 GB, free: 180.1 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004097/26.4, allocations: 0.619 MB / 8.228 GB, free: 180.1 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004666/26.41, allocations: 0.5479 MB / 8.229 GB, free: 180.1 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.04248/26.45, allocations: 14.3 MB / 8.243 GB, free: 179.6 MB / 1.292 GB Notification: Performance of sort global known variables: time 1.303e-06/26.45, allocations: 0 / 8.243 GB, free: 179.6 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.08218/26.53, allocations: 10.69 MB / 8.253 GB, free: 178.8 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * Number of states: 60 (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,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,solCol1.vol[28].dynBal.U,solCol1.vol[29].dynBal.U,solCol1.vol[30].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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1043): * Single equations (assignments): 1037 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.09213/26.63, allocations: 32.85 MB / 8.285 GB, free: 169.1 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.0665/26.69, allocations: 25.04 MB / 8.31 GB, free: 168.9 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 5.88e-05/26.69, allocations: 19.52 kB / 8.31 GB, free: 168.9 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.01926/26.71, allocations: 7.029 MB / 8.317 GB, free: 168.8 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06867/26.78, allocations: 11.38 MB / 8.328 GB, free: 168.7 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.39/28.17, allocations: 316.9 MB / 8.637 GB, free: 34.12 MB / 1.37 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03706/28.21, allocations: 13.34 MB / 8.65 GB, free: 31.8 MB / 1.37 GB Notification: Performance of simCode: alias equations: time 1.044/29.25, allocations: 11.49 MB / 8.661 GB, free: 268.4 MB / 1.37 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03662/29.29, allocations: 9.346 MB / 8.67 GB, free: 268.4 MB / 1.37 GB Notification: Performance of SimCode: time 2.254e-06/29.29, allocations: 1.859 kB / 8.67 GB, free: 268.4 MB / 1.37 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.918/31.21, allocations: 0.5464 GB / 9.217 GB, free: 239.2 MB / 1.37 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/31.21, allocations: 248.3 kB / 9.217 GB, free: 239 MB / 1.37 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.87/60.07, allocations: 4 kB / 9.217 GB, free: 239 MB / 1.37 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat does not exist to compare? outputFormat=mat