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.141/2.141, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001413/0.001413, allocations: 172.9 kB / 496.1 MB, free: 12.85 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.493/1.493, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.001033/0.001033, allocations: 95.89 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.044e-05/4.065e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2645, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.186/5.45, allocations: 2.198 GB / 3.417 GB, free: 87.85 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/5.451, allocations: 87.95 kB / 3.417 GB, free: 87.76 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 17.93/23.38, allocations: 4.242 GB / 7.659 GB, free: 134.3 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.685e-06/23.38, allocations: 3.391 kB / 7.659 GB, free: 134.3 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.005812/23.39, allocations: 0.595 MB / 7.66 GB, free: 134.2 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 0.09481/23.48, allocations: 18.22 MB / 7.678 GB, free: 127.8 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/23.48, allocations: 11.5 kB / 7.678 GB, free: 127.8 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01543/23.5, allocations: 2.327 MB / 7.68 GB, free: 127.6 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04013/23.54, allocations: 3.787 MB / 7.684 GB, free: 126.4 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08531/23.62, allocations: 29.71 MB / 7.713 GB, free: 123.9 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001755/23.62, allocations: 1.241 MB / 7.714 GB, free: 123.9 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008667/23.63, allocations: 1.681 MB / 7.716 GB, free: 123.9 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06852/23.7, allocations: 24.84 MB / 7.74 GB, free: 121.3 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001043/23.7, allocations: 68.91 kB / 7.74 GB, free: 121.2 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006295/23.71, allocations: 0.7237 MB / 7.741 GB, free: 121.2 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008647/23.71, allocations: 0.8843 MB / 7.742 GB, free: 121.2 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04892/23.76, allocations: 21.01 MB / 7.762 GB, free: 121.1 MB / 1.214 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.1754/23.93, allocations: 99.3 MB / 7.859 GB, free: 84.06 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0225/23.96, allocations: 15.03 MB / 7.874 GB, free: 80.12 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01192/23.97, allocations: 7.849 MB / 7.881 GB, free: 77.18 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002558/23.97, allocations: 2.031 MB / 7.883 GB, free: 75.15 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01661/23.99, allocations: 7.893 MB / 7.891 GB, free: 72.46 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1022): time 1.605e-05/23.99, allocations: 0 / 7.891 GB, free: 72.46 MB / 1.214 GB Notification: Performance of matching and sorting (n=1022): time 0.02928/24.02, allocations: 13.23 MB / 7.904 GB, free: 67.64 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001839/24.02, allocations: 414.5 kB / 7.904 GB, free: 67.25 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03582/24.05, allocations: 17.59 MB / 7.922 GB, free: 61.29 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.003262/24.06, allocations: 241.5 kB / 7.922 GB, free: 61.11 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0131/24.07, allocations: 9.865 MB / 7.931 GB, free: 53.54 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.006481/24.07, allocations: 3.574 MB / 7.935 GB, free: 50.8 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001392/24.08, allocations: 255.9 kB / 7.935 GB, free: 50.61 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0008391/24.08, allocations: 0.8415 MB / 7.936 GB, free: 50.07 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009761/24.09, allocations: 6.278 MB / 7.942 GB, free: 47.8 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01515/24.1, allocations: 9.903 MB / 7.952 GB, free: 40.11 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0135/24.12, allocations: 8.279 MB / 7.96 GB, free: 33.26 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.919e-05/24.12, allocations: 28 kB / 7.96 GB, free: 33.23 MB / 1.214 GB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.04097/24.16, allocations: 18.27 MB / 7.978 GB, free: 17.41 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.8271/24.98, allocations: 73.19 MB / 8.049 GB, free: 172.6 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003801/24.98, allocations: 106 kB / 8.049 GB, free: 172.6 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003514/24.98, allocations: 187.9 kB / 8.049 GB, free: 172.6 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01996/25, allocations: 3.487 MB / 8.053 GB, free: 172.6 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004356/25.01, allocations: 242.3 kB / 8.053 GB, free: 172.6 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02507/25.03, allocations: 2.389 MB / 8.055 GB, free: 172.6 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003579/25.03, allocations: 0.6165 MB / 8.056 GB, free: 172.6 MB / 1.261 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/25.03, allocations: 3.781 kB / 8.056 GB, free: 172.6 MB / 1.261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0331/25.07, allocations: 16.81 MB / 8.072 GB, free: 172.3 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004901/25.07, allocations: 110.3 kB / 8.073 GB, free: 172.3 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004355/25.07, allocations: 190.8 kB / 8.073 GB, free: 172.3 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01788/25.09, allocations: 3.486 MB / 8.076 GB, free: 172.3 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000528/25.09, allocations: 241.2 kB / 8.076 GB, free: 172.3 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02315/25.11, allocations: 2.139 MB / 8.078 GB, free: 172.3 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004214/25.11, allocations: 0.6173 MB / 8.079 GB, free: 172.3 MB / 1.261 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 () * 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.006743/25.12, allocations: 0.8947 MB / 8.08 GB, free: 172.2 MB / 1.261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008352/25.13, allocations: 1.708 MB / 8.082 GB, free: 172 MB / 1.261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04408/25.17, allocations: 15.27 MB / 8.097 GB, free: 171.4 MB / 1.261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-05/25.17, allocations: 105.5 kB / 8.097 GB, free: 171.4 MB / 1.261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.042e-05/25.17, allocations: 0 / 8.097 GB, free: 171.4 MB / 1.261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02655/25.2, allocations: 11.76 MB / 8.108 GB, free: 171.1 MB / 1.261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09075/25.29, allocations: 37.6 MB / 8.145 GB, free: 169.2 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-05/25.29, allocations: 16.12 kB / 8.145 GB, free: 169.2 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01494/25.31, allocations: 2.47 MB / 8.147 GB, free: 169.2 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001595/25.31, allocations: 52.97 kB / 8.147 GB, free: 169.2 MB / 1.261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002606/25.31, allocations: 352.7 kB / 8.148 GB, free: 169.2 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001202/25.31, allocations: 62.55 kB / 8.148 GB, free: 169.2 MB / 1.261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.41e-05/25.31, allocations: 20.03 kB / 8.148 GB, free: 169.2 MB / 1.261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04469/25.35, allocations: 29.98 MB / 8.177 GB, free: 158.9 MB / 1.261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01487/25.37, allocations: 4.673 MB / 8.182 GB, free: 157.9 MB / 1.261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007489/25.38, allocations: 240.9 kB / 8.182 GB, free: 157.9 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02017/25.4, allocations: 1.213 MB / 8.183 GB, free: 157.8 MB / 1.261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002373/25.4, allocations: 0.625 MB / 8.184 GB, free: 157.8 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002892/25.4, allocations: 0.5492 MB / 8.184 GB, free: 157.8 MB / 1.261 GB Notification: Performance of sorting global known variables: time 0.02925/25.43, allocations: 14.13 MB / 8.198 GB, free: 157.3 MB / 1.261 GB Notification: Performance of sort global known variables: time 5.21e-07/25.43, allocations: 0 / 8.198 GB, free: 157.3 MB / 1.261 GB Notification: Performance of remove unused functions: time 0.04539/25.48, allocations: 10.68 MB / 8.208 GB, free: 156.1 MB / 1.261 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) * 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.05841/25.53, allocations: 31.23 MB / 8.239 GB, free: 146.3 MB / 1.261 GB Notification: Performance of simCode: created initialization part: time 0.04659/25.58, allocations: 23.95 MB / 8.262 GB, free: 146 MB / 1.261 GB Notification: Performance of simCode: created event and clocks part: time 4.504e-05/25.58, allocations: 19.58 kB / 8.262 GB, free: 146 MB / 1.261 GB Notification: Performance of simCode: created simulation system equations: time 0.01345/25.59, allocations: 6.501 MB / 8.269 GB, free: 145.8 MB / 1.261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06183/25.66, allocations: 11.38 MB / 8.28 GB, free: 145.6 MB / 1.261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1105/25.77, allocations: 46.09 MB / 8.325 GB, free: 131.5 MB / 1.261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01538/25.78, allocations: 13.36 MB / 8.338 GB, free: 124.6 MB / 1.261 GB Notification: Performance of simCode: alias equations: time 0.06247/25.85, allocations: 18.27 MB / 8.356 GB, free: 112.5 MB / 1.261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02351/25.87, allocations: 8.99 MB / 8.364 GB, free: 104.3 MB / 1.261 GB Notification: Performance of SimCode: time 1.193e-06/25.87, allocations: 0 / 8.364 GB, free: 104.3 MB / 1.261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.678/27.55, allocations: 0.5639 GB / 8.928 GB, free: 5.254 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/27.55, allocations: 224.4 kB / 8.929 GB, free: 5.023 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.3/55.85, allocations: 0 / 8.929 GB, free: 5.023 MB / 1.307 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