Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.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.FlatPlate,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",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.286/2.286, allocations: 390.5 MB / 398 MB, free: 10.93 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.001233/0.001233, allocations: 184.8 kB / 491.2 MB, free: 1.543 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.45/1.45, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0009753/0.0009752, allocations: 99.56 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.012e-05/1.997e-05, allocations: 1.797 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2582, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.541/5.799, allocations: 2.2 GB / 3.413 GB, free: 73.97 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/5.799, allocations: 92.27 kB / 3.413 GB, free: 73.93 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 8.371/14.17, allocations: 2.13 GB / 5.542 GB, free: 131.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.194e-06/14.17, allocations: 0 / 5.542 GB, free: 131.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.002371/14.17, allocations: 321.1 kB / 5.543 GB, free: 131.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2347 * Number of variables: 2347 Notification: Performance of Generate backend data structure: time 0.03795/14.21, allocations: 9.695 MB / 5.552 GB, free: 121.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/14.21, allocations: 16.02 kB / 5.552 GB, free: 121.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01514/14.23, allocations: 2.084 MB / 5.554 GB, free: 119.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04117/14.27, allocations: 15.2 MB / 5.569 GB, free: 104.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008859/14.27, allocations: 284 kB / 5.569 GB, free: 104.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008189/14.28, allocations: 0.5116 MB / 5.57 GB, free: 103.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03058/14.31, allocations: 10.3 MB / 5.58 GB, free: 93.25 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03652/14.34, allocations: 11.54 MB / 5.591 GB, free: 81.26 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006674/14.34, allocations: 31.72 kB / 5.591 GB, free: 81.23 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00413/14.35, allocations: 19.98 kB / 5.591 GB, free: 81.21 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004807/14.35, allocations: 465.2 kB / 5.592 GB, free: 80.75 MB / 1.151 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.08904/14.44, allocations: 49.15 MB / 5.64 GB, free: 29.91 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/14.45, allocations: 7.367 MB / 5.647 GB, free: 22.58 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006226/14.46, allocations: 3.909 MB / 5.651 GB, free: 18.65 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001898/14.46, allocations: 1.494 MB / 5.652 GB, free: 16.86 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007096/14.46, allocations: 3.755 MB / 5.656 GB, free: 13.04 MB / 1.151 GB Notification: Performance of pre-optimization done (n=554): time 1.014e-05/14.46, allocations: 0 / 5.656 GB, free: 13.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=554): time 0.07085/14.54, allocations: 11.47 MB / 5.667 GB, free: 1.465 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/14.54, allocations: 347.1 kB / 5.667 GB, free: 1.055 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01795/14.55, allocations: 7.83 MB / 5.675 GB, free: 9.238 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001791/14.56, allocations: 33.7 kB / 5.675 GB, free: 9.199 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.007708/14.56, allocations: 5.028 MB / 5.68 GB, free: 4.125 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003947/14.57, allocations: 1.852 MB / 5.682 GB, free: 2.25 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008685/14.57, allocations: 0 / 5.682 GB, free: 2.25 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0006947/14.57, allocations: 0.5869 MB / 5.682 GB, free: 1.656 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.7979/15.37, allocations: 3.132 MB / 5.685 GB, free: 218 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01121/15.38, allocations: 4.972 MB / 5.69 GB, free: 215.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1683/15.55, allocations: 16.14 MB / 5.706 GB, free: 215.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002048/15.55, allocations: 19.16 kB / 5.706 GB, free: 215.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.1782/15.72, allocations: 20.84 MB / 5.726 GB, free: 215.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.005275/15.73, allocations: 27.74 MB / 5.753 GB, free: 186.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001639/15.73, allocations: 53.44 kB / 5.753 GB, free: 186.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001934/15.73, allocations: 95.66 kB / 5.754 GB, free: 186.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009335/15.74, allocations: 1.849 MB / 5.755 GB, free: 186.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001577/15.74, allocations: 119.8 kB / 5.755 GB, free: 186.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01206/15.75, allocations: 1.022 MB / 5.756 GB, free: 186.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002174/15.75, allocations: 339.6 kB / 5.757 GB, free: 186.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/15.75, allocations: 4.406 kB / 5.757 GB, free: 186.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1737/15.93, allocations: 20 MB / 5.776 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001545/15.93, allocations: 53.31 kB / 5.776 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001257/15.93, allocations: 99 kB / 5.776 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009485/15.94, allocations: 1.844 MB / 5.778 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001977/15.94, allocations: 119.2 kB / 5.778 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01482/15.95, allocations: 0.9041 MB / 5.779 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003175/15.96, allocations: 333.1 kB / 5.78 GB, free: 185.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * 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 (867): * Single equations (assignments): 867 * 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.004064/15.96, allocations: 288.9 kB / 5.78 GB, free: 185.7 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.07113/16.03, allocations: 11.47 MB / 5.791 GB, free: 184.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004167/16.04, allocations: 0.8162 MB / 5.792 GB, free: 184.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07372/16.11, allocations: 12.5 MB / 5.804 GB, free: 183.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.846e-05/16.11, allocations: 53.16 kB / 5.804 GB, free: 183.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/16.11, allocations: 0 / 5.804 GB, free: 183.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0664/16.18, allocations: 10.8 MB / 5.815 GB, free: 183.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09585/16.27, allocations: 22.92 MB / 5.837 GB, free: 181.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/16.27, allocations: 0 / 5.837 GB, free: 181.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007278/16.28, allocations: 1.335 MB / 5.838 GB, free: 181.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.702e-05/16.28, allocations: 20.12 kB / 5.838 GB, free: 181.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001423/16.28, allocations: 114.1 kB / 5.838 GB, free: 181.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.08e-05/16.28, allocations: 24.77 kB / 5.838 GB, free: 181.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/16.28, allocations: 0 / 5.838 GB, free: 181.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07621/16.36, allocations: 16.37 MB / 5.854 GB, free: 180.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007805/16.37, allocations: 2.366 MB / 5.857 GB, free: 179.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003967/16.37, allocations: 36.91 kB / 5.857 GB, free: 179.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01093/16.38, allocations: 0.6143 MB / 5.857 GB, free: 179.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001401/16.38, allocations: 330.6 kB / 5.858 GB, free: 179.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00111/16.38, allocations: 289.1 kB / 5.858 GB, free: 179.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01246/16.4, allocations: 5.995 MB / 5.864 GB, free: 179.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.21e-07/16.4, allocations: 0 / 5.864 GB, free: 179.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.03012/16.43, allocations: 5.449 MB / 5.869 GB, free: 179.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (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) * 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 (575): * Single equations (assignments): 569 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.08187/16.51, allocations: 18.23 MB / 5.887 GB, free: 177 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.02056/16.53, allocations: 12.02 MB / 5.899 GB, free: 176.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.346e-05/16.53, allocations: 13.69 kB / 5.899 GB, free: 176.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0056/16.53, allocations: 3.401 MB / 5.902 GB, free: 176.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02851/16.56, allocations: 4.763 MB / 5.907 GB, free: 176.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.064/16.63, allocations: 22.6 MB / 5.929 GB, free: 159.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01076/16.64, allocations: 7.201 MB / 5.936 GB, free: 154 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.03268/16.67, allocations: 8.809 MB / 5.944 GB, free: 148.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009651/16.68, allocations: 4.425 MB / 5.949 GB, free: 144.1 MB / 1.167 GB Notification: Performance of SimCode: time 2.104e-06/16.68, allocations: 4 kB / 5.949 GB, free: 144.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.059/17.74, allocations: 256.2 MB / 6.199 GB, free: 206 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/17.74, allocations: 188.4 kB / 6.199 GB, free: 205.9 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/28.35, allocations: 3.938 kB / 6.199 GB, free: 205.9 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_FlatPlate.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate_res.mat does not exist to compare? outputFormat=mat