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.755/2.755, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.002038/0.002038, allocations: 182.9 kB / 0.4901 GB, free: 2.254 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.775/1.775, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.001221/0.001221, allocations: 110 kB / 0.9396 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 10.59 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.311, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.88/5.191, allocations: 2.201 GB / 3.43 GB, free: 187.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/5.191, allocations: 96.89 kB / 3.43 GB, free: 187.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.214/12.41, allocations: 2.146 GB / 5.576 GB, free: 237.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.854e-06/12.41, allocations: 0 / 5.576 GB, free: 237.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001801/12.41, allocations: 324.9 kB / 5.576 GB, free: 237.7 MB / 1.167 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.03687/12.44, allocations: 11.89 MB / 5.588 GB, free: 233.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/12.44, allocations: 7.859 kB / 5.588 GB, free: 233.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005238/12.45, allocations: 1.242 MB / 5.589 GB, free: 233.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01279/12.46, allocations: 2.092 MB / 5.591 GB, free: 232.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03484/12.5, allocations: 15.27 MB / 5.606 GB, free: 229.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005853/12.5, allocations: 0.6475 MB / 5.606 GB, free: 228.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002993/12.5, allocations: 0.8771 MB / 5.607 GB, free: 228.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02602/12.53, allocations: 13.3 MB / 5.62 GB, free: 222 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002533/12.53, allocations: 34.95 kB / 5.62 GB, free: 222 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001396/12.53, allocations: 385.8 kB / 5.621 GB, free: 221.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000306/12.53, allocations: 465.4 kB / 5.621 GB, free: 221.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02591/12.55, allocations: 11.92 MB / 5.633 GB, free: 214.7 MB / 1.167 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.08145/12.64, allocations: 50.94 MB / 5.683 GB, free: 162.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01411/12.65, allocations: 8.211 MB / 5.691 GB, free: 154.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001753/12.65, allocations: 1.503 MB / 5.692 GB, free: 152.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009216/12.66, allocations: 4.24 MB / 5.696 GB, free: 148.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=554): time 9.688e-06/12.66, allocations: 0 / 5.696 GB, free: 148.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=554): time 0.02205/12.68, allocations: 10.65 MB / 5.707 GB, free: 137.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/12.68, allocations: 351 kB / 5.707 GB, free: 137.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01457/12.7, allocations: 9.191 MB / 5.716 GB, free: 128 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.00167/12.7, allocations: 137.7 kB / 5.716 GB, free: 127.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.005028/12.7, allocations: 5.017 MB / 5.721 GB, free: 122.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002906/12.71, allocations: 1.933 MB / 5.723 GB, free: 120.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006375/12.71, allocations: 136 kB / 5.723 GB, free: 120.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003919/12.71, allocations: 0.5753 MB / 5.723 GB, free: 120.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006614/12.72, allocations: 3.589 MB / 5.727 GB, free: 116.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00794/12.72, allocations: 5.457 MB / 5.732 GB, free: 110.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008155/12.73, allocations: 4.581 MB / 5.737 GB, free: 105.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.535e-05/12.73, allocations: 16 kB / 5.737 GB, free: 105.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.02025/12.75, allocations: 10.16 MB / 5.747 GB, free: 95.48 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.004817/12.76, allocations: 28.83 MB / 5.775 GB, free: 65.01 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/12.76, allocations: 60 kB / 5.775 GB, free: 64.95 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001121/12.76, allocations: 92 kB / 5.775 GB, free: 64.86 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009658/12.77, allocations: 1.845 MB / 5.777 GB, free: 63.02 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001142/12.77, allocations: 123.6 kB / 5.777 GB, free: 62.89 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0118/12.78, allocations: 1.244 MB / 5.778 GB, free: 61.64 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001463/12.78, allocations: 339.8 kB / 5.778 GB, free: 61.31 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/12.78, allocations: 4 kB / 5.778 GB, free: 61.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01633/12.8, allocations: 9.38 MB / 5.788 GB, free: 51.86 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.341e-05/12.8, allocations: 52 kB / 5.788 GB, free: 51.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.687e-05/12.8, allocations: 96 kB / 5.788 GB, free: 51.71 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008469/12.81, allocations: 1.845 MB / 5.79 GB, free: 49.86 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001114/12.81, allocations: 123.2 kB / 5.79 GB, free: 49.75 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01048/12.82, allocations: 1.125 MB / 5.791 GB, free: 48.61 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/12.82, allocations: 339.8 kB / 5.791 GB, free: 48.28 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 () * Number of clocked 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.007398/12.82, allocations: 4.036 MB / 5.795 GB, free: 44.23 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002752/12.83, allocations: 0.8954 MB / 5.796 GB, free: 43.32 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01711/12.84, allocations: 8.778 MB / 5.805 GB, free: 34.47 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.952e-05/12.84, allocations: 56 kB / 5.805 GB, free: 34.42 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/12.84, allocations: 2.625 kB / 5.805 GB, free: 34.42 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01188/12.86, allocations: 6.877 MB / 5.811 GB, free: 27.45 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04031/12.9, allocations: 20.19 MB / 5.831 GB, free: 7.125 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/12.9, allocations: 7.984 kB / 5.831 GB, free: 7.117 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006725/12.9, allocations: 1.319 MB / 5.832 GB, free: 5.797 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.159e-05/12.9, allocations: 20 kB / 5.832 GB, free: 5.777 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006074/12.9, allocations: 183.8 kB / 5.832 GB, free: 5.598 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.919e-05/12.9, allocations: 23.94 kB / 5.833 GB, free: 5.574 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/12.9, allocations: 3.953 kB / 5.833 GB, free: 5.57 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02513/12.93, allocations: 12.93 MB / 5.845 GB, free: 8.453 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0105/12.94, allocations: 2.456 MB / 5.848 GB, free: 5.965 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005227/12.94, allocations: 120 kB / 5.848 GB, free: 5.848 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01239/12.96, allocations: 0.7248 MB / 5.848 GB, free: 5.121 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001492/12.96, allocations: 324 kB / 5.849 GB, free: 4.801 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001177/12.96, allocations: 291.7 kB / 5.849 GB, free: 4.516 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.8452/13.81, allocations: 7.221 MB / 5.856 GB, free: 242.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 4.9e-07/13.81, allocations: 0 / 5.856 GB, free: 242.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.03378/13.84, allocations: 5.653 MB / 5.862 GB, free: 242.9 MB / 1.182 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) * Number of clocked states: 0 () * 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.04673/13.89, allocations: 15.02 MB / 5.876 GB, free: 241.7 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.03231/13.92, allocations: 13.27 MB / 5.889 GB, free: 241.5 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.577e-05/13.92, allocations: 12.22 kB / 5.889 GB, free: 241.5 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.008987/13.93, allocations: 3.813 MB / 5.893 GB, free: 241.5 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03051/13.96, allocations: 5.588 MB / 5.898 GB, free: 241.4 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09346/14.05, allocations: 74.21 MB / 5.971 GB, free: 187.7 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01274/14.06, allocations: 7.191 MB / 5.978 GB, free: 186.8 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.02775/14.09, allocations: 6.043 MB / 5.984 GB, free: 185.8 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01289/14.1, allocations: 4.645 MB / 5.988 GB, free: 185.8 MB / 1.182 GB Notification: Performance of SimCode: time 1.974e-06/14.11, allocations: 2.25 kB / 5.988 GB, free: 185.8 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.455/14.56, allocations: 281.1 MB / 6.263 GB, free: 4.754 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/14.56, allocations: 260.1 kB / 6.263 GB, free: 4.496 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/27.89, allocations: 0 / 6.263 GB, free: 4.496 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