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.42/2.42, allocations: 393.5 MB / 408.4 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.001275/0.001275, allocations: 186.5 kB / 0.4901 GB, free: 2.223 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.554/1.554, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0008629/0.0008627, allocations: 103.7 kB / 0.9396 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003827, allocations: 10.59 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3079, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.625/4.933, allocations: 2.202 GB / 3.431 GB, free: 246.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/4.933, allocations: 96.52 kB / 3.431 GB, free: 246.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 17.03/21.96, allocations: 4.256 GB / 7.687 GB, free: 29.11 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.936e-06/21.96, allocations: 0 / 7.687 GB, free: 29.11 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004696/21.97, allocations: 0.6048 MB / 7.688 GB, free: 28.5 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.07796/22.05, allocations: 22.63 MB / 7.71 GB, free: 5.715 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/22.05, allocations: 8.031 kB / 7.71 GB, free: 5.707 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01114/22.06, allocations: 2.378 MB / 7.712 GB, free: 3.316 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0281/22.09, allocations: 4.023 MB / 7.716 GB, free: 15.26 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7901/22.88, allocations: 29.94 MB / 7.745 GB, free: 141.7 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00171/22.88, allocations: 1.256 MB / 7.747 GB, free: 141.7 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008723/22.89, allocations: 1.686 MB / 7.748 GB, free: 141.7 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07104/22.96, allocations: 25.86 MB / 7.773 GB, free: 139 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001093/22.96, allocations: 67.05 kB / 7.773 GB, free: 139 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00846/22.97, allocations: 0.7234 MB / 7.774 GB, free: 139 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001102/22.97, allocations: 0.8847 MB / 7.775 GB, free: 139 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05427/23.02, allocations: 22.81 MB / 7.797 GB, free: 138.8 MB / 1.229 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.1854/23.21, allocations: 99.53 MB / 7.895 GB, free: 103.7 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02932/23.24, allocations: 16.05 MB / 7.91 GB, free: 103 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002518/23.24, allocations: 2.034 MB / 7.912 GB, free: 101 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01779/23.26, allocations: 8.089 MB / 7.92 GB, free: 100.8 MB / 1.229 GB Notification: Performance of pre-optimization done (n=1037): time 1.275e-05/23.26, allocations: 0 / 7.92 GB, free: 100.8 MB / 1.229 GB Notification: Performance of matching and sorting (n=1037): time 0.04777/23.31, allocations: 20.39 MB / 7.94 GB, free: 99.56 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/23.31, allocations: 424.5 kB / 7.94 GB, free: 99.18 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03173/23.34, allocations: 17.75 MB / 7.958 GB, free: 98.23 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.002935/23.34, allocations: 242.2 kB / 7.958 GB, free: 98.2 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01068/23.35, allocations: 9.891 MB / 7.968 GB, free: 93.25 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.005006/23.36, allocations: 3.62 MB / 7.971 GB, free: 90.48 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/23.36, allocations: 259.4 kB / 7.971 GB, free: 90.28 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0007519/23.36, allocations: 0.837 MB / 7.972 GB, free: 89.75 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01339/23.37, allocations: 6.951 MB / 7.979 GB, free: 87.44 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02185/23.39, allocations: 10.59 MB / 7.989 GB, free: 80.76 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02351/23.42, allocations: 8.902 MB / 7.998 GB, free: 77.48 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001449/23.42, allocations: 31.41 kB / 7.998 GB, free: 77.48 MB / 1.229 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.0503/23.47, allocations: 19.66 MB / 8.017 GB, free: 70.89 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.03235/23.5, allocations: 73.37 MB / 8.089 GB, free: 57.92 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004232/23.5, allocations: 105.3 kB / 8.089 GB, free: 57.92 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003703/23.5, allocations: 190.2 kB / 8.089 GB, free: 57.92 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01929/23.52, allocations: 3.549 MB / 8.093 GB, free: 57.66 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003764/23.52, allocations: 242.5 kB / 8.093 GB, free: 57.62 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02636/23.55, allocations: 2.422 MB / 8.095 GB, free: 56.54 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004437/23.55, allocations: 0.6248 MB / 8.096 GB, free: 56.44 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/23.55, allocations: 3.281 kB / 8.096 GB, free: 56.44 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04828/23.6, allocations: 18.18 MB / 8.114 GB, free: 49.88 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004202/23.6, allocations: 105.9 kB / 8.114 GB, free: 49.88 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002516/23.6, allocations: 195.3 kB / 8.114 GB, free: 49.88 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01954/23.62, allocations: 3.546 MB / 8.117 GB, free: 49.58 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004354/23.62, allocations: 238.9 kB / 8.118 GB, free: 49.54 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02323/23.64, allocations: 2.176 MB / 8.12 GB, free: 48.63 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004141/23.65, allocations: 0.6339 MB / 8.12 GB, free: 48.52 MB / 1.292 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.02059/23.67, allocations: 7.747 MB / 8.128 GB, free: 45.32 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009105/23.68, allocations: 1.714 MB / 8.13 GB, free: 44.44 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.047/23.73, allocations: 16.59 MB / 8.146 GB, free: 38.36 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001031/23.73, allocations: 107.2 kB / 8.146 GB, free: 38.36 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.151e-05/23.73, allocations: 0 / 8.146 GB, free: 38.36 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03491/23.76, allocations: 13.07 MB / 8.159 GB, free: 33.78 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1121/23.87, allocations: 38.73 MB / 8.196 GB, free: 5.848 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.5e-05/23.87, allocations: 4 kB / 8.196 GB, free: 5.844 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01585/23.89, allocations: 2.516 MB / 8.199 GB, free: 3.852 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001618/23.89, allocations: 39.17 kB / 8.199 GB, free: 3.816 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002838/23.89, allocations: 336.5 kB / 8.199 GB, free: 3.562 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001288/23.89, allocations: 36 kB / 8.199 GB, free: 3.527 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/23.89, allocations: 3.844 kB / 8.199 GB, free: 3.527 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7682/24.66, allocations: 25.65 MB / 8.224 GB, free: 194.4 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01812/24.68, allocations: 4.617 MB / 8.229 GB, free: 194 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009366/24.69, allocations: 229.7 kB / 8.229 GB, free: 194 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02274/24.71, allocations: 1.363 MB / 8.23 GB, free: 194 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002835/24.71, allocations: 0.5823 MB / 8.231 GB, free: 194 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003414/24.72, allocations: 0.5399 MB / 8.232 GB, free: 194 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.02958/24.75, allocations: 13.97 MB / 8.245 GB, free: 193.5 MB / 1.292 GB Notification: Performance of sort global known variables: time 3.61e-07/24.75, allocations: 0.75 kB / 8.245 GB, free: 193.5 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.0481/24.79, allocations: 10.8 MB / 8.256 GB, free: 192.8 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.0699/24.86, allocations: 27.21 MB / 8.282 GB, free: 190 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.05851/24.92, allocations: 25.6 MB / 8.307 GB, free: 189.8 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.977e-05/24.92, allocations: 17.61 kB / 8.307 GB, free: 189.8 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.01797/24.94, allocations: 7.227 MB / 8.314 GB, free: 189.7 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05498/25, allocations: 10.94 MB / 8.325 GB, free: 189.6 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1573/25.15, allocations: 149.2 MB / 8.471 GB, free: 78.62 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02938/25.18, allocations: 13.38 MB / 8.484 GB, free: 77.23 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.05766/25.24, allocations: 11.38 MB / 8.495 GB, free: 75.31 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02838/25.27, allocations: 9.425 MB / 8.504 GB, free: 75.29 MB / 1.292 GB Notification: Performance of SimCode: time 1.803e-06/25.27, allocations: 0 / 8.504 GB, free: 75.29 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.387/26.66, allocations: 0.5285 GB / 9.033 GB, free: 68.4 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/26.66, allocations: 266 kB / 9.033 GB, free: 68.05 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.64/54.3, allocations: 0 / 9.033 GB, free: 68.05 MB / 1.292 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