Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.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.FlatPlate,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",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.252/2.252, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001131/0.001131, allocations: 173 kB / 498.1 MB, free: 5.664 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.607/1.607, allocations: 223.1 MB / 0.7948 GB, free: 17.92 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.000892/0.0008918, allocations: 103.5 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003824, allocations: 13.2 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3157, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.323/5.639, allocations: 2.201 GB / 3.424 GB, free: 227.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/5.639, allocations: 91.7 kB / 3.424 GB, free: 227.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.958/12.6, allocations: 2.145 GB / 5.569 GB, free: 242.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.204e-06/12.6, allocations: 0 / 5.569 GB, free: 242.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.002154/12.6, allocations: 316.5 kB / 5.569 GB, free: 242 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.03728/12.64, allocations: 11.9 MB / 5.581 GB, free: 237.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/12.64, allocations: 7.031 kB / 5.581 GB, free: 237.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005497/12.64, allocations: 1.239 MB / 5.582 GB, free: 237.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/12.66, allocations: 2.088 MB / 5.584 GB, free: 236.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03791/12.69, allocations: 15.28 MB / 5.599 GB, free: 235.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001042/12.7, allocations: 0.6572 MB / 5.6 GB, free: 235.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004504/12.7, allocations: 0.868 MB / 5.601 GB, free: 235.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03673/12.74, allocations: 13.3 MB / 5.614 GB, free: 234.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005684/12.74, allocations: 34.5 kB / 5.614 GB, free: 234.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003304/12.74, allocations: 383.7 kB / 5.614 GB, free: 234.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005255/12.74, allocations: 460.1 kB / 5.615 GB, free: 234.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02827/12.77, allocations: 11.93 MB / 5.626 GB, free: 234.1 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.0905/12.86, allocations: 50.94 MB / 5.676 GB, free: 204.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01554/12.88, allocations: 8.21 MB / 5.684 GB, free: 201.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001991/12.88, allocations: 1.495 MB / 5.685 GB, free: 200 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01068/12.89, allocations: 4.241 MB / 5.69 GB, free: 196.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=554): time 1.071e-05/12.89, allocations: 0 / 5.69 GB, free: 196.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=554): time 0.02731/12.92, allocations: 10.65 MB / 5.7 GB, free: 187.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/12.92, allocations: 351.1 kB / 5.7 GB, free: 187.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01825/12.93, allocations: 9.187 MB / 5.709 GB, free: 178.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001686/12.94, allocations: 137.7 kB / 5.709 GB, free: 177.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.007587/12.94, allocations: 5.026 MB / 5.714 GB, free: 172.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003616/12.95, allocations: 1.921 MB / 5.716 GB, free: 171 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001529/12.95, allocations: 136 kB / 5.716 GB, free: 170.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0006741/12.95, allocations: 0.5831 MB / 5.717 GB, free: 170.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007745/12.96, allocations: 3.585 MB / 5.72 GB, free: 166.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009526/12.97, allocations: 5.457 MB / 5.726 GB, free: 160.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008994/12.98, allocations: 4.581 MB / 5.73 GB, free: 155.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.941e-05/12.98, allocations: 12 kB / 5.73 GB, free: 155.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.02658/13, allocations: 10.17 MB / 5.74 GB, free: 145.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.007398/13.01, allocations: 28.82 MB / 5.768 GB, free: 115.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002098/13.01, allocations: 56 kB / 5.768 GB, free: 115 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/13.01, allocations: 99.95 kB / 5.768 GB, free: 114.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01056/13.02, allocations: 1.837 MB / 5.77 GB, free: 113.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001908/13.02, allocations: 131.5 kB / 5.77 GB, free: 112.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01311/13.03, allocations: 1.241 MB / 5.772 GB, free: 111.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002086/13.04, allocations: 338 kB / 5.772 GB, free: 111.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/13.04, allocations: 4 kB / 5.772 GB, free: 111.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02234/13.06, allocations: 9.38 MB / 5.781 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001657/13.06, allocations: 55.98 kB / 5.781 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.605e-05/13.06, allocations: 96 kB / 5.781 GB, free: 101.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00991/13.07, allocations: 1.849 MB / 5.783 GB, free: 99.91 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002462/13.07, allocations: 123.5 kB / 5.783 GB, free: 99.79 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01432/13.08, allocations: 1.129 MB / 5.784 GB, free: 98.65 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002212/13.09, allocations: 331.9 kB / 5.785 GB, free: 98.33 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.01147/13.1, allocations: 4.043 MB / 5.789 GB, free: 94.27 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004625/13.1, allocations: 0.8954 MB / 5.789 GB, free: 93.37 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02508/13.13, allocations: 8.782 MB / 5.798 GB, free: 84.53 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.542e-05/13.13, allocations: 52 kB / 5.798 GB, free: 84.48 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.052e-05/13.13, allocations: 4 kB / 5.798 GB, free: 84.47 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01685/13.14, allocations: 6.877 MB / 5.805 GB, free: 77.51 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05229/13.2, allocations: 20.19 MB / 5.824 GB, free: 57.18 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/13.2, allocations: 3.938 kB / 5.824 GB, free: 57.18 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00775/13.2, allocations: 1.322 MB / 5.826 GB, free: 55.86 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.035e-05/13.2, allocations: 20 kB / 5.826 GB, free: 55.84 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001451/13.21, allocations: 183.8 kB / 5.826 GB, free: 55.66 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.361e-05/13.21, allocations: 19.98 kB / 5.826 GB, free: 55.64 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/13.21, allocations: 4 kB / 5.826 GB, free: 55.63 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0287/13.23, allocations: 12.94 MB / 5.839 GB, free: 42.52 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009683/13.24, allocations: 2.468 MB / 5.841 GB, free: 40.02 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004311/13.25, allocations: 116 kB / 5.841 GB, free: 39.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01156/13.26, allocations: 0.7172 MB / 5.842 GB, free: 39.18 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001536/13.26, allocations: 324 kB / 5.842 GB, free: 38.86 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001895/13.26, allocations: 295.7 kB / 5.842 GB, free: 38.57 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01577/13.28, allocations: 7.219 MB / 5.849 GB, free: 31.39 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.41e-07/13.28, allocations: 0 / 5.849 GB, free: 31.39 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0267/13.31, allocations: 5.656 MB / 5.855 GB, free: 25.73 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) * 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.03579/13.34, allocations: 15.02 MB / 5.87 GB, free: 11.09 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0307/13.37, allocations: 13.28 MB / 5.883 GB, free: 13.77 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-05/13.37, allocations: 11.19 kB / 5.883 GB, free: 13.76 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.009344/13.38, allocations: 3.816 MB / 5.886 GB, free: 9.934 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0298/13.41, allocations: 5.594 MB / 5.892 GB, free: 4.621 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6739/14.09, allocations: 74.21 MB / 5.964 GB, free: 194.6 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008562/14.09, allocations: 7.197 MB / 5.971 GB, free: 193.7 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.02216/14.12, allocations: 6.038 MB / 5.977 GB, free: 193.4 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01111/14.13, allocations: 4.649 MB / 5.982 GB, free: 193.3 MB / 1.182 GB Notification: Performance of SimCode: time 9.72e-07/14.13, allocations: 0 / 5.982 GB, free: 193.3 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3946/14.52, allocations: 281 MB / 6.256 GB, free: 44.68 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/14.52, allocations: 230.8 kB / 6.256 GB, free: 44.44 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/24.89, allocations: 0 / 6.256 GB, free: 44.44 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlate.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate_res.mat does not exist to compare? outputFormat=mat