Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001265/0.001265, allocations: 189.2 kB / 498.1 MB, free: 5.734 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.713/1.713, allocations: 223.2 MB / 0.7948 GB, free: 17.8 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.00104/0.00104, allocations: 100.3 kB / 0.9346 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003827, allocations: 8.844 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3444, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.416/5.76, allocations: 2.198 GB / 3.421 GB, free: 285.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/5.761, allocations: 103.3 kB / 3.421 GB, free: 285.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 14.96/20.72, allocations: 4.252 GB / 7.674 GB, free: 71.3 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.517e-06/20.72, allocations: 4 kB / 7.674 GB, free: 71.3 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.00545/20.73, allocations: 0.597 MB / 7.674 GB, free: 70.7 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.09312/20.82, allocations: 22.46 MB / 7.696 GB, free: 48.08 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/20.82, allocations: 8.031 kB / 7.696 GB, free: 48.07 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01321/20.84, allocations: 2.366 MB / 7.698 GB, free: 45.69 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02702/20.86, allocations: 3.793 MB / 7.702 GB, free: 41.87 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08302/20.95, allocations: 29.83 MB / 7.731 GB, free: 12.08 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001511/20.95, allocations: 1.24 MB / 7.732 GB, free: 10.84 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008164/20.96, allocations: 1.683 MB / 7.734 GB, free: 9.152 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.539/22.5, allocations: 25.73 MB / 7.759 GB, free: 127.6 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001591/22.5, allocations: 67.31 kB / 7.759 GB, free: 127.6 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008414/22.51, allocations: 0.7222 MB / 7.76 GB, free: 127.6 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001741/22.51, allocations: 0.8817 MB / 7.761 GB, free: 127.6 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06206/22.57, allocations: 22.58 MB / 7.783 GB, free: 127.5 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.1988/22.77, allocations: 99.3 MB / 7.88 GB, free: 92.87 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03269/22.8, allocations: 15.98 MB / 7.895 GB, free: 92.22 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00312/22.8, allocations: 2.026 MB / 7.897 GB, free: 90.25 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02229/22.83, allocations: 8.429 MB / 7.906 GB, free: 90.02 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1022): time 2.198e-05/22.83, allocations: 0 / 7.906 GB, free: 90.02 MB / 1.214 GB Notification: Performance of matching and sorting (n=1022): time 0.05615/22.88, allocations: 20.06 MB / 7.925 GB, free: 88.89 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001872/22.88, allocations: 417.5 kB / 7.926 GB, free: 88.51 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04334/22.93, allocations: 17.76 MB / 7.943 GB, free: 87.7 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.003889/22.93, allocations: 233.8 kB / 7.943 GB, free: 87.66 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01874/22.95, allocations: 9.865 MB / 7.953 GB, free: 85.26 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.007453/22.96, allocations: 3.577 MB / 7.956 GB, free: 83.01 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00318/22.96, allocations: 253.6 kB / 7.957 GB, free: 83.01 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001735/22.96, allocations: 0.8341 MB / 7.957 GB, free: 82.68 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01662/22.98, allocations: 6.842 MB / 7.964 GB, free: 82.64 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02042/23, allocations: 10.46 MB / 7.974 GB, free: 78.34 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02287/23.02, allocations: 8.791 MB / 7.983 GB, free: 75.11 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002532/23.02, allocations: 31.38 kB / 7.983 GB, free: 75.11 MB / 1.214 GB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.06064/23.08, allocations: 19.4 MB / 8.002 GB, free: 68.62 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.03788/23.12, allocations: 73.2 MB / 8.073 GB, free: 71.81 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004827/23.12, allocations: 104 kB / 8.073 GB, free: 71.81 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002852/23.12, allocations: 193.3 kB / 8.074 GB, free: 71.81 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01945/23.14, allocations: 3.484 MB / 8.077 GB, free: 71.7 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000338/23.14, allocations: 247.5 kB / 8.077 GB, free: 71.7 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02551/23.17, allocations: 2.392 MB / 8.08 GB, free: 70.63 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003945/23.17, allocations: 0.618 MB / 8.08 GB, free: 70.53 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/23.17, allocations: 3.969 kB / 8.08 GB, free: 70.53 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04522/23.22, allocations: 17.93 MB / 8.098 GB, free: 64.46 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005797/23.22, allocations: 110.8 kB / 8.098 GB, free: 64.46 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003527/23.22, allocations: 188.6 kB / 8.098 GB, free: 64.46 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01939/23.24, allocations: 3.48 MB / 8.101 GB, free: 64.16 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004109/23.24, allocations: 245.4 kB / 8.102 GB, free: 64.12 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02337/23.26, allocations: 2.134 MB / 8.104 GB, free: 63.22 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004087/23.26, allocations: 0.6163 MB / 8.104 GB, free: 63.12 MB / 1.292 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.0202/23.28, allocations: 7.722 MB / 8.112 GB, free: 59.93 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0076/23.29, allocations: 1.718 MB / 8.114 GB, free: 59.05 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04993/23.34, allocations: 16.33 MB / 8.129 GB, free: 53.2 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001363/23.34, allocations: 102.6 kB / 8.13 GB, free: 53.2 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.12e-05/23.34, allocations: 0 / 8.13 GB, free: 53.2 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03532/23.38, allocations: 12.82 MB / 8.142 GB, free: 48.77 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1126/23.49, allocations: 38.68 MB / 8.18 GB, free: 31.82 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001328/23.49, allocations: 12.19 kB / 8.18 GB, free: 31.81 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01557/23.51, allocations: 2.476 MB / 8.182 GB, free: 29.84 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001947/23.51, allocations: 52 kB / 8.182 GB, free: 29.79 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003042/23.51, allocations: 342.1 kB / 8.183 GB, free: 29.53 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001407/23.51, allocations: 63.62 kB / 8.183 GB, free: 29.47 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.365e-05/23.51, allocations: 23.88 kB / 8.183 GB, free: 29.45 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06091/23.57, allocations: 31.57 MB / 8.214 GB, free: 444 kB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.7446/24.31, allocations: 4.662 MB / 8.218 GB, free: 202.1 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008197/24.32, allocations: 241.4 kB / 8.218 GB, free: 202.1 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02061/24.34, allocations: 1.214 MB / 8.22 GB, free: 202.1 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002653/24.35, allocations: 0.6256 MB / 8.22 GB, free: 202.1 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002238/24.35, allocations: 0.5488 MB / 8.221 GB, free: 202.1 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.03441/24.38, allocations: 14.3 MB / 8.235 GB, free: 201.6 MB / 1.292 GB Notification: Performance of sort global known variables: time 5.71e-07/24.38, allocations: 0 / 8.235 GB, free: 201.6 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.04706/24.43, allocations: 10.68 MB / 8.245 GB, free: 201.4 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.06468/24.49, allocations: 32.87 MB / 8.277 GB, free: 191.7 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.05956/24.55, allocations: 25.04 MB / 8.302 GB, free: 191.5 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-05/24.55, allocations: 17.52 kB / 8.302 GB, free: 191.5 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.01749/24.57, allocations: 7.03 MB / 8.309 GB, free: 191.5 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05578/24.63, allocations: 11.37 MB / 8.32 GB, free: 191.4 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.183/25.81, allocations: 316.9 MB / 8.629 GB, free: 41.02 MB / 1.354 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02804/25.84, allocations: 13.33 MB / 8.642 GB, free: 39.63 MB / 1.354 GB Notification: Performance of simCode: alias equations: time 0.05242/25.89, allocations: 11.48 MB / 8.653 GB, free: 37.72 MB / 1.354 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02665/25.92, allocations: 9.347 MB / 8.662 GB, free: 37.7 MB / 1.354 GB Notification: Performance of SimCode: time 1.673e-06/25.92, allocations: 2.906 kB / 8.662 GB, free: 37.7 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.401/27.32, allocations: 0.5464 GB / 9.209 GB, free: 29.19 MB / 1.354 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/27.32, allocations: 235.9 kB / 9.209 GB, free: 28.95 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.47/55.79, allocations: 0 / 9.209 GB, free: 28.95 MB / 1.354 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat does not exist to compare? outputFormat=mat