Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.FlatPlateNPanels,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",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.36/2.36, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001164/0.001164, allocations: 179.3 kB / 498.1 MB, free: 5.754 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.779/1.779, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.001136/0.001136, allocations: 92.81 kB / 0.9346 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004357, allocations: 13.89 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3373, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.007/5.344, allocations: 2.202 GB / 3.425 GB, free: 227.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/5.344, allocations: 94.7 kB / 3.425 GB, free: 227.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 14.66/20, allocations: 4.256 GB / 7.681 GB, free: 37.21 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.557e-06/20, allocations: 0 / 7.681 GB, free: 37.21 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.005386/20.01, allocations: 0.597 MB / 7.681 GB, free: 36.61 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: 4528 * Number of variables: 4528 Notification: Performance of Generate backend data structure: time 0.08445/20.09, allocations: 22.63 MB / 7.703 GB, free: 13.81 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/20.09, allocations: 12.03 kB / 7.703 GB, free: 13.8 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01175/20.11, allocations: 2.37 MB / 7.706 GB, free: 11.42 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02604/20.13, allocations: 4.019 MB / 7.71 GB, free: 7.367 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.418/21.55, allocations: 29.95 MB / 7.739 GB, free: 134.7 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00156/21.55, allocations: 1.255 MB / 7.74 GB, free: 134.7 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008383/21.56, allocations: 1.685 MB / 7.742 GB, free: 134.7 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07747/21.64, allocations: 25.85 MB / 7.767 GB, free: 132.1 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001066/21.64, allocations: 72.78 kB / 7.767 GB, free: 132.1 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007224/21.65, allocations: 0.7285 MB / 7.768 GB, free: 132.1 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000844/21.65, allocations: 0.8795 MB / 7.769 GB, free: 132 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05968/21.71, allocations: 22.82 MB / 7.791 GB, free: 131.9 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.1895/21.9, allocations: 99.52 MB / 7.888 GB, free: 95.88 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03373/21.93, allocations: 16.05 MB / 7.904 GB, free: 95.22 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00291/21.93, allocations: 2.035 MB / 7.906 GB, free: 93.24 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02102/21.95, allocations: 8.091 MB / 7.914 GB, free: 93 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1037): time 2.619e-05/21.95, allocations: 0 / 7.914 GB, free: 93 MB / 1.214 GB Notification: Performance of matching and sorting (n=1037): time 0.05604/22.01, allocations: 20.39 MB / 7.934 GB, free: 91.77 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000203/22.01, allocations: 423.3 kB / 7.934 GB, free: 91.38 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04029/22.05, allocations: 17.75 MB / 7.951 GB, free: 88.66 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.003488/22.05, allocations: 238.7 kB / 7.951 GB, free: 88.48 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01459/22.07, allocations: 9.894 MB / 7.961 GB, free: 80.88 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.006368/22.08, allocations: 3.624 MB / 7.965 GB, free: 78.11 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002668/22.08, allocations: 260.5 kB / 7.965 GB, free: 77.91 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001529/22.08, allocations: 0.8347 MB / 7.966 GB, free: 77.37 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01592/22.1, allocations: 6.949 MB / 7.973 GB, free: 75.07 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01935/22.11, allocations: 10.59 MB / 7.983 GB, free: 68.39 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0195/22.13, allocations: 8.901 MB / 7.992 GB, free: 65.11 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001638/22.13, allocations: 30.56 kB / 7.992 GB, free: 65.11 MB / 1.214 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.05878/22.19, allocations: 19.65 MB / 8.011 GB, free: 58.46 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.02887/22.22, allocations: 73.37 MB / 8.082 GB, free: 45.45 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004344/22.22, allocations: 108.7 kB / 8.083 GB, free: 45.45 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003755/22.22, allocations: 185.2 kB / 8.083 GB, free: 45.45 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01936/22.24, allocations: 3.556 MB / 8.086 GB, free: 45.14 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004721/22.24, allocations: 238.8 kB / 8.086 GB, free: 45.09 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02573/22.27, allocations: 2.418 MB / 8.089 GB, free: 44.02 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00446/22.27, allocations: 0.6256 MB / 8.089 GB, free: 43.92 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/22.27, allocations: 3.906 kB / 8.089 GB, free: 43.92 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04645/22.32, allocations: 18.18 MB / 8.107 GB, free: 37.36 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008082/22.32, allocations: 110.5 kB / 8.107 GB, free: 37.36 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000537/22.32, allocations: 188 kB / 8.107 GB, free: 37.36 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01989/22.34, allocations: 3.549 MB / 8.111 GB, free: 37.05 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004831/22.34, allocations: 249.6 kB / 8.111 GB, free: 37.01 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02476/22.37, allocations: 2.167 MB / 8.113 GB, free: 36.11 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003849/22.37, allocations: 0.6295 MB / 8.114 GB, free: 36 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 484 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1659): * Single equations (assignments): 1659 * 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.02151/22.39, allocations: 7.743 MB / 8.121 GB, free: 32.8 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009272/22.4, allocations: 1.718 MB / 8.123 GB, free: 31.92 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05388/22.45, allocations: 16.59 MB / 8.139 GB, free: 25.83 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001414/22.46, allocations: 102.9 kB / 8.139 GB, free: 25.83 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.539e-05/22.46, allocations: 0 / 8.139 GB, free: 25.83 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03549/22.49, allocations: 13.07 MB / 8.152 GB, free: 16.21 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1203/22.61, allocations: 39 MB / 8.19 GB, free: 2.492 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001029/22.61, allocations: 4.031 kB / 8.19 GB, free: 2.488 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01571/22.63, allocations: 2.505 MB / 8.193 GB, free: 0.5039 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001414/22.63, allocations: 32 kB / 8.193 GB, free: 484 kB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00274/22.63, allocations: 341.7 kB / 8.193 GB, free: 220 kB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001036/22.63, allocations: 39.81 kB / 8.193 GB, free: 184 kB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/22.63, allocations: 0 / 8.193 GB, free: 184 kB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7531/23.38, allocations: 24.7 MB / 8.217 GB, free: 202.1 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0173/23.4, allocations: 4.621 MB / 8.222 GB, free: 201.7 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01142/23.41, allocations: 229.2 kB / 8.222 GB, free: 201.7 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02113/23.43, allocations: 1.359 MB / 8.223 GB, free: 201.7 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002609/23.44, allocations: 0.5881 MB / 8.224 GB, free: 201.7 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003376/23.44, allocations: 0.5338 MB / 8.224 GB, free: 201.7 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.03057/23.47, allocations: 13.97 MB / 8.238 GB, free: 201.2 MB / 1.292 GB Notification: Performance of sort global known variables: time 1.052e-06/23.47, allocations: 3.5 kB / 8.238 GB, free: 201.2 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.04617/23.52, allocations: 10.8 MB / 8.249 GB, free: 200.4 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1062): * Single equations (assignments): 1054 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 4 * 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.06609/23.58, allocations: 27.21 MB / 8.275 GB, free: 197.7 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.05562/23.64, allocations: 25.6 MB / 8.3 GB, free: 197.4 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.457e-05/23.64, allocations: 21.55 kB / 8.3 GB, free: 197.4 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.01656/23.65, allocations: 7.229 MB / 8.307 GB, free: 197.4 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04968/23.7, allocations: 10.94 MB / 8.318 GB, free: 197.3 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1559/23.86, allocations: 149.2 MB / 8.464 GB, free: 86.32 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02703/23.89, allocations: 13.37 MB / 8.477 GB, free: 84.93 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.05192/23.94, allocations: 11.38 MB / 8.488 GB, free: 83 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02487/23.96, allocations: 9.419 MB / 8.497 GB, free: 82.98 MB / 1.292 GB Notification: Performance of SimCode: time 1.056e-05/23.96, allocations: 0 / 8.497 GB, free: 82.98 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.377/25.34, allocations: 0.5285 GB / 9.026 GB, free: 61.58 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/25.34, allocations: 242.5 kB / 9.026 GB, free: 61.34 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.71/51.05, allocations: 0 / 9.026 GB, free: 61.34 MB / 1.292 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels_res.mat does not exist to compare? outputFormat=mat