Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.FlatPlateNPanels,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",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.165/2.165, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001117/0.001117, allocations: 184.8 kB / 496.1 MB, free: 12.86 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.356/1.356, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.0009114/0.0009113, allocations: 87.25 kB / 0.9317 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.485e-05/5.504e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2257, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.882/5.108, allocations: 2.202 GB / 3.421 GB, free: 62.76 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/5.108, allocations: 95.94 kB / 3.421 GB, free: 62.67 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 17.93/23.04, allocations: 4.246 GB / 7.666 GB, free: 140.8 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.344e-06/23.04, allocations: 0 / 7.666 GB, free: 140.8 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.005183/23.05, allocations: 0.6024 MB / 7.667 GB, free: 140.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: 4528 * Number of variables: 4528 Notification: Performance of Generate backend data structure: time 0.06809/23.12, allocations: 18.37 MB / 7.685 GB, free: 134.2 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/23.12, allocations: 11.44 kB / 7.685 GB, free: 134.2 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01195/23.13, allocations: 2.334 MB / 7.687 GB, free: 134 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02866/23.16, allocations: 4.012 MB / 7.691 GB, free: 132.8 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08118/23.24, allocations: 29.83 MB / 7.72 GB, free: 130.3 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001498/23.24, allocations: 1.253 MB / 7.722 GB, free: 130.3 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008107/23.25, allocations: 1.685 MB / 7.723 GB, free: 130.3 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07367/23.32, allocations: 24.91 MB / 7.748 GB, free: 127.6 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001323/23.32, allocations: 69.89 kB / 7.748 GB, free: 127.6 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008356/23.33, allocations: 0.727 MB / 7.748 GB, free: 127.6 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001122/23.33, allocations: 0.8857 MB / 7.749 GB, free: 127.6 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05313/23.38, allocations: 21.15 MB / 7.77 GB, free: 127.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.1834/23.57, allocations: 99.54 MB / 7.867 GB, free: 90.09 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02238/23.59, allocations: 15.07 MB / 7.882 GB, free: 83.8 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01269/23.6, allocations: 7.938 MB / 7.889 GB, free: 80.77 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002505/23.61, allocations: 2.028 MB / 7.891 GB, free: 78.75 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01386/23.62, allocations: 7.509 MB / 7.899 GB, free: 76.13 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1037): time 1.388e-05/23.62, allocations: 7.141 kB / 7.899 GB, free: 76.12 MB / 1.214 GB Notification: Performance of matching and sorting (n=1037): time 0.02676/23.65, allocations: 13.37 MB / 7.912 GB, free: 71.14 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/23.65, allocations: 418 kB / 7.912 GB, free: 70.75 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03573/23.68, allocations: 17.58 MB / 7.929 GB, free: 60.94 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.003081/23.69, allocations: 237.7 kB / 7.93 GB, free: 60.7 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01095/23.7, allocations: 9.898 MB / 7.939 GB, free: 51.72 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.005603/23.7, allocations: 3.631 MB / 7.943 GB, free: 48.45 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001158/23.7, allocations: 260 kB / 7.943 GB, free: 48.19 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0007439/23.7, allocations: 0.8374 MB / 7.944 GB, free: 47.5 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01038/23.71, allocations: 6.341 MB / 7.95 GB, free: 41.91 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01271/23.73, allocations: 9.978 MB / 7.96 GB, free: 31.37 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01328/23.74, allocations: 8.331 MB / 7.968 GB, free: 24.47 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.331e-05/23.74, allocations: 32 kB / 7.968 GB, free: 24.44 MB / 1.214 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.04042/23.78, allocations: 18.44 MB / 7.986 GB, free: 8.34 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.8208/24.6, allocations: 73.37 MB / 8.058 GB, free: 168 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000409/24.6, allocations: 108.3 kB / 8.058 GB, free: 168 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003787/24.6, allocations: 188.9 kB / 8.058 GB, free: 168 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02056/24.62, allocations: 3.549 MB / 8.061 GB, free: 168 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005758/24.62, allocations: 239.4 kB / 8.062 GB, free: 168 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02596/24.65, allocations: 2.419 MB / 8.064 GB, free: 168 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003814/24.65, allocations: 0.6296 MB / 8.065 GB, free: 168 MB / 1.261 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/24.65, allocations: 6.375 kB / 8.065 GB, free: 168 MB / 1.261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0342/24.69, allocations: 16.97 MB / 8.081 GB, free: 167.8 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003286/24.69, allocations: 106.2 kB / 8.081 GB, free: 167.8 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002707/24.69, allocations: 187.5 kB / 8.081 GB, free: 167.8 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01929/24.71, allocations: 3.547 MB / 8.085 GB, free: 167.8 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004595/24.71, allocations: 244.5 kB / 8.085 GB, free: 167.8 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02492/24.73, allocations: 2.173 MB / 8.087 GB, free: 167.8 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003819/24.74, allocations: 0.6263 MB / 8.088 GB, free: 167.8 MB / 1.261 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 () * 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.004883/24.74, allocations: 0.9015 MB / 8.089 GB, free: 167.6 MB / 1.261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006772/24.75, allocations: 1.716 MB / 8.09 GB, free: 167.4 MB / 1.261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03493/24.78, allocations: 15.43 MB / 8.106 GB, free: 166.9 MB / 1.261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.746e-05/24.78, allocations: 101.2 kB / 8.106 GB, free: 166.9 MB / 1.261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.166e-05/24.78, allocations: 3.953 kB / 8.106 GB, free: 166.9 MB / 1.261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01925/24.8, allocations: 11.9 MB / 8.117 GB, free: 166.5 MB / 1.261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08534/24.89, allocations: 37.55 MB / 8.154 GB, free: 164.5 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-05/24.89, allocations: 7.719 kB / 8.154 GB, free: 164.5 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01281/24.9, allocations: 2.512 MB / 8.156 GB, free: 164.5 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001419/24.9, allocations: 35.69 kB / 8.156 GB, free: 164.5 MB / 1.261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001821/24.9, allocations: 335.7 kB / 8.157 GB, free: 164.5 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.861e-05/24.9, allocations: 37.53 kB / 8.157 GB, free: 164.5 MB / 1.261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/24.9, allocations: 5.703 kB / 8.157 GB, free: 164.5 MB / 1.261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03855/24.94, allocations: 22.96 MB / 8.179 GB, free: 162.3 MB / 1.261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01618/24.96, allocations: 4.624 MB / 8.184 GB, free: 161.3 MB / 1.261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007486/24.97, allocations: 224.3 kB / 8.184 GB, free: 161.3 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02268/24.99, allocations: 1.361 MB / 8.185 GB, free: 161.2 MB / 1.261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003454/24.99, allocations: 0.5844 MB / 8.186 GB, free: 161.2 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003527/25, allocations: 0.5378 MB / 8.186 GB, free: 161.2 MB / 1.261 GB Notification: Performance of sorting global known variables: time 0.02553/25.02, allocations: 13.8 MB / 8.2 GB, free: 160.7 MB / 1.261 GB Notification: Performance of sort global known variables: time 1.443e-06/25.02, allocations: 0 / 8.2 GB, free: 160.7 MB / 1.261 GB Notification: Performance of remove unused functions: time 0.04296/25.06, allocations: 10.8 MB / 8.21 GB, free: 159.5 MB / 1.261 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) * 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.04963/25.11, allocations: 25.4 MB / 8.235 GB, free: 156.7 MB / 1.261 GB Notification: Performance of simCode: created initialization part: time 0.04483/25.16, allocations: 24.35 MB / 8.259 GB, free: 156.3 MB / 1.261 GB Notification: Performance of simCode: created event and clocks part: time 2.473e-05/25.16, allocations: 17.64 kB / 8.259 GB, free: 156.3 MB / 1.261 GB Notification: Performance of simCode: created simulation system equations: time 0.01429/25.17, allocations: 6.643 MB / 8.265 GB, free: 156.3 MB / 1.261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0597/25.23, allocations: 10.95 MB / 8.276 GB, free: 156.1 MB / 1.261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1247/25.36, allocations: 45.84 MB / 8.321 GB, free: 141.5 MB / 1.261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02663/25.38, allocations: 13.4 MB / 8.334 GB, free: 131.8 MB / 1.261 GB Notification: Performance of simCode: alias equations: time 0.06985/25.45, allocations: 18.12 MB / 8.352 GB, free: 119.8 MB / 1.261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02435/25.48, allocations: 9.066 MB / 8.361 GB, free: 111.4 MB / 1.261 GB Notification: Performance of SimCode: time 1.553e-06/25.48, allocations: 2.906 kB / 8.361 GB, free: 111.4 MB / 1.261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.665/27.14, allocations: 0.5557 GB / 8.916 GB, free: 15.66 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/27.14, allocations: 223.8 kB / 8.917 GB, free: 15.43 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.54/55.69, allocations: 0 / 8.917 GB, free: 15.43 MB / 1.307 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels_res.mat does not exist to compare? outputFormat=mat