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.214/2.214, allocations: 390.5 MB / 398 MB, free: 10.96 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.001122/0.001123, allocations: 184.2 kB / 491.2 MB, free: 1.613 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.387/1.387, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0009814/0.0009811, allocations: 103.4 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.918e-05/1.937e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3028, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.452/5.755, allocations: 2.198 GB / 3.41 GB, free: 76.92 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/5.755, allocations: 88.95 kB / 3.41 GB, free: 76.88 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 16.32/22.07, allocations: 4.221 GB / 7.632 GB, free: 149.4 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.296e-06/22.07, allocations: 0 / 7.632 GB, free: 149.4 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004044/22.08, allocations: 0.601 MB / 7.632 GB, free: 149.3 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.06177/22.14, allocations: 18.21 MB / 7.65 GB, free: 142.9 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/22.14, allocations: 10.47 kB / 7.65 GB, free: 142.9 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0253/22.16, allocations: 3.792 MB / 7.654 GB, free: 141.6 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07803/22.24, allocations: 29.7 MB / 7.683 GB, free: 139.1 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001016/22.24, allocations: 0.5309 MB / 7.683 GB, free: 139.1 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006602/22.25, allocations: 0.9768 MB / 7.684 GB, free: 139.1 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03933/22.29, allocations: 19.44 MB / 7.703 GB, free: 139 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06025/22.35, allocations: 22.4 MB / 7.725 GB, free: 136.4 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001007/22.35, allocations: 69.98 kB / 7.725 GB, free: 136.4 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006234/22.36, allocations: 35.61 kB / 7.725 GB, free: 136.4 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007347/22.36, allocations: 0.8893 MB / 7.726 GB, free: 136.4 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.1719/22.53, allocations: 95.84 MB / 7.819 GB, free: 93.89 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02202/22.55, allocations: 14.52 MB / 7.834 GB, free: 87.66 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01116/22.56, allocations: 7.515 MB / 7.841 GB, free: 84.83 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002601/22.56, allocations: 2.025 MB / 7.843 GB, free: 82.81 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01516/22.58, allocations: 7.541 MB / 7.85 GB, free: 80.23 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1022): time 1.964e-05/22.58, allocations: 7.969 kB / 7.85 GB, free: 80.23 MB / 1.214 GB Notification: Performance of matching and sorting (n=1022): time 0.1403/22.72, allocations: 22.2 MB / 7.872 GB, free: 65.96 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/22.72, allocations: 416.4 kB / 7.872 GB, free: 65.48 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03315/22.75, allocations: 15.06 MB / 7.887 GB, free: 52.57 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.003312/22.76, allocations: 37.73 kB / 7.887 GB, free: 52.52 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01322/22.77, allocations: 9.677 MB / 7.897 GB, free: 43.75 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.007663/22.78, allocations: 3.441 MB / 7.9 GB, free: 40.58 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001544/22.78, allocations: 0 / 7.9 GB, free: 40.58 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0009091/22.78, allocations: 0.8401 MB / 7.901 GB, free: 39.88 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009287/22.79, allocations: 6.035 MB / 7.907 GB, free: 34.6 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01262/22.8, allocations: 9.574 MB / 7.916 GB, free: 24.43 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1224/22.92, allocations: 17.64 MB / 7.933 GB, free: 11.34 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/22.92, allocations: 36 kB / 7.933 GB, free: 11.3 MB / 1.214 GB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.1593/23.08, allocations: 26.56 MB / 7.959 GB, free: 2.535 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.9651/24.05, allocations: 68.86 MB / 8.026 GB, free: 106.7 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005598/24.05, allocations: 113.9 kB / 8.027 GB, free: 106.7 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004046/24.05, allocations: 187.1 kB / 8.027 GB, free: 106.7 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01977/24.07, allocations: 3.48 MB / 8.03 GB, free: 106.7 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004951/24.07, allocations: 238.7 kB / 8.03 GB, free: 106.7 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02513/24.09, allocations: 1.949 MB / 8.032 GB, free: 106.7 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00402/24.1, allocations: 0.6176 MB / 8.033 GB, free: 106.7 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/24.1, allocations: 4.438 kB / 8.033 GB, free: 106.7 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1542/24.25, allocations: 25 MB / 8.057 GB, free: 106.4 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004386/24.25, allocations: 104.8 kB / 8.057 GB, free: 106.4 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002111/24.25, allocations: 188.2 kB / 8.058 GB, free: 106.4 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01759/24.27, allocations: 3.49 MB / 8.061 GB, free: 106.4 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004431/24.27, allocations: 241.4 kB / 8.061 GB, free: 106.4 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02289/24.3, allocations: 1.692 MB / 8.063 GB, free: 106.4 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005175/24.3, allocations: 0.6225 MB / 8.064 GB, free: 106.4 MB / 1.229 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.009199/24.31, allocations: 461.9 kB / 8.064 GB, free: 106.3 MB / 1.229 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1488/24.46, allocations: 22.19 MB / 8.086 GB, free: 106 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01042/24.47, allocations: 1.564 MB / 8.087 GB, free: 105.2 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.149/24.62, allocations: 23.98 MB / 8.111 GB, free: 104.6 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.764e-05/24.62, allocations: 98.53 kB / 8.111 GB, free: 104.6 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.743e-05/24.62, allocations: 0 / 8.111 GB, free: 104.6 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1335/24.75, allocations: 20.86 MB / 8.131 GB, free: 103.7 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1975/24.95, allocations: 44.25 MB / 8.174 GB, free: 101.4 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-05/24.95, allocations: 17.59 kB / 8.174 GB, free: 101.4 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01392/24.96, allocations: 2.474 MB / 8.177 GB, free: 101.4 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001631/24.96, allocations: 52.84 kB / 8.177 GB, free: 101.4 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002707/24.97, allocations: 223.5 kB / 8.177 GB, free: 101.4 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001168/24.97, allocations: 61.52 kB / 8.177 GB, free: 101.4 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.75e-05/24.97, allocations: 25.12 kB / 8.177 GB, free: 101.4 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1616/25.13, allocations: 37.12 MB / 8.213 GB, free: 91.87 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01837/25.15, allocations: 4.443 MB / 8.218 GB, free: 90.96 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009896/25.16, allocations: 81.94 kB / 8.218 GB, free: 90.96 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02221/25.18, allocations: 1.019 MB / 8.219 GB, free: 90.82 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0033/25.18, allocations: 0.6263 MB / 8.219 GB, free: 90.79 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004611/25.19, allocations: 0.5469 MB / 8.22 GB, free: 90.79 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02818/25.21, allocations: 11.57 MB / 8.231 GB, free: 90.36 MB / 1.229 GB Notification: Performance of sort global known variables: time 5.31e-07/25.21, allocations: 0 / 8.231 GB, free: 90.36 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.05038/25.27, allocations: 10.36 MB / 8.241 GB, free: 89.21 MB / 1.229 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.1606/25.43, allocations: 39.77 MB / 8.28 GB, free: 78.8 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.04405/25.47, allocations: 22.78 MB / 8.302 GB, free: 72.05 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 3.874e-05/25.47, allocations: 22.42 kB / 8.302 GB, free: 72.02 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01243/25.48, allocations: 6.276 MB / 8.308 GB, free: 67.67 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05622/25.54, allocations: 9.303 MB / 8.318 GB, free: 61.12 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1271/25.67, allocations: 44.48 MB / 8.361 GB, free: 22.71 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02281/25.69, allocations: 13.35 MB / 8.374 GB, free: 13.02 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.0593/25.75, allocations: 16.43 MB / 8.39 GB, free: 2.086 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03305/25.78, allocations: 9.911 MB / 8.4 GB, free: 13.94 MB / 1.245 GB Notification: Performance of SimCode: time 1.293e-06/25.78, allocations: 0 / 8.4 GB, free: 13.94 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.215/28, allocations: 488.3 MB / 8.877 GB, free: 6.156 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/28, allocations: 190.1 kB / 8.877 GB, free: 5.965 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.27/55.26, allocations: 0 / 8.877 GB, free: 5.965 MB / 1.292 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