Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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.EN12975NPanels,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",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.213/2.213, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001155/0.001155, allocations: 184.1 kB / 492.3 MB, free: 0.6055 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.448/1.448, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.001025/0.001025, allocations: 98.98 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.853e-05/3.855e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2615, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.261/5.522, allocations: 2.198 GB / 3.411 GB, free: 78.28 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/5.523, allocations: 90.08 kB / 3.411 GB, free: 78.24 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 17.27/22.79, allocations: 4.242 GB / 7.653 GB, free: 147.7 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.824e-06/22.79, allocations: 0 / 7.653 GB, free: 147.7 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003722/22.8, allocations: 0.5969 MB / 7.653 GB, free: 147.6 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: 4512 * Number of variables: 4512 Notification: Performance of Generate backend data structure: time 0.06058/22.86, allocations: 18.21 MB / 7.671 GB, free: 141.2 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/22.86, allocations: 11.34 kB / 7.671 GB, free: 141.2 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009608/22.87, allocations: 2.334 MB / 7.673 GB, free: 141.1 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02538/22.89, allocations: 3.789 MB / 7.677 GB, free: 139.8 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08257/22.97, allocations: 29.7 MB / 7.706 GB, free: 137.3 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001536/22.98, allocations: 1.256 MB / 7.707 GB, free: 137.3 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0102/22.99, allocations: 1.673 MB / 7.709 GB, free: 137.3 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06755/23.05, allocations: 24.84 MB / 7.733 GB, free: 134.6 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001129/23.05, allocations: 69.09 kB / 7.733 GB, free: 134.6 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007381/23.06, allocations: 0.7205 MB / 7.734 GB, free: 134.6 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008842/23.06, allocations: 0.8874 MB / 7.735 GB, free: 134.5 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05331/23.12, allocations: 21.01 MB / 7.755 GB, free: 134.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.1734/23.29, allocations: 99.3 MB / 7.852 GB, free: 83.48 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02612/23.32, allocations: 15.03 MB / 7.867 GB, free: 77.17 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01415/23.33, allocations: 7.843 MB / 7.875 GB, free: 72.89 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00272/23.33, allocations: 2.031 MB / 7.877 GB, free: 70.63 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01602/23.35, allocations: 7.882 MB / 7.884 GB, free: 64.38 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1022): time 1.611e-05/23.35, allocations: 0 / 7.884 GB, free: 64.38 MB / 1.214 GB Notification: Performance of matching and sorting (n=1022): time 0.03341/23.38, allocations: 13.24 MB / 7.897 GB, free: 52.75 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001882/23.38, allocations: 423.9 kB / 7.898 GB, free: 52.27 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03998/23.42, allocations: 17.59 MB / 7.915 GB, free: 37.09 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004111/23.43, allocations: 237.7 kB / 7.915 GB, free: 36.85 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01545/23.44, allocations: 9.861 MB / 7.925 GB, free: 27.9 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.006125/23.45, allocations: 3.581 MB / 7.928 GB, free: 24.67 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002712/23.45, allocations: 256 kB / 7.929 GB, free: 24.42 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.00164/23.45, allocations: 0.8377 MB / 7.929 GB, free: 23.72 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01267/23.47, allocations: 6.281 MB / 7.936 GB, free: 18.2 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01652/23.48, allocations: 9.903 MB / 7.945 GB, free: 7.691 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0163/23.5, allocations: 8.277 MB / 7.953 GB, free: 0.7461 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001253/23.5, allocations: 28 kB / 7.953 GB, free: 0.7188 MB / 1.214 GB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.05106/23.55, allocations: 18.28 MB / 7.971 GB, free: 0.6445 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.7618/24.31, allocations: 73.2 MB / 8.043 GB, free: 111.3 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003147/24.31, allocations: 106.2 kB / 8.043 GB, free: 111.3 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002608/24.31, allocations: 189.9 kB / 8.043 GB, free: 111.3 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01843/24.33, allocations: 3.485 MB / 8.046 GB, free: 111.3 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004359/24.33, allocations: 243.3 kB / 8.047 GB, free: 111.3 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02325/24.35, allocations: 2.386 MB / 8.049 GB, free: 111.3 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003816/24.36, allocations: 0.6255 MB / 8.049 GB, free: 111.3 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/24.36, allocations: 5.938 kB / 8.049 GB, free: 111.3 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03918/24.4, allocations: 16.81 MB / 8.066 GB, free: 111 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003337/24.4, allocations: 105.2 kB / 8.066 GB, free: 111 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002002/24.4, allocations: 186.1 kB / 8.066 GB, free: 111 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01829/24.42, allocations: 3.485 MB / 8.07 GB, free: 111 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005694/24.42, allocations: 242.3 kB / 8.07 GB, free: 111 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02329/24.44, allocations: 2.136 MB / 8.072 GB, free: 111 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00386/24.44, allocations: 0.62 MB / 8.073 GB, free: 111 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 483 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1638): * Single equations (assignments): 1638 * 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.00548/24.45, allocations: 0.8821 MB / 8.073 GB, free: 110.9 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006686/24.46, allocations: 1.716 MB / 8.075 GB, free: 110.6 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04022/24.5, allocations: 15.27 MB / 8.09 GB, free: 110 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002093/24.5, allocations: 102.3 kB / 8.09 GB, free: 110 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.56e-05/24.5, allocations: 1.25 kB / 8.09 GB, free: 110 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02826/24.53, allocations: 11.76 MB / 8.102 GB, free: 109.7 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09252/24.62, allocations: 37.61 MB / 8.138 GB, free: 107.8 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.156e-05/24.62, allocations: 17.89 kB / 8.138 GB, free: 107.8 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01428/24.63, allocations: 2.477 MB / 8.141 GB, free: 107.8 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000155/24.63, allocations: 50.75 kB / 8.141 GB, free: 107.8 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002534/24.63, allocations: 345.3 kB / 8.141 GB, free: 107.8 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001258/24.63, allocations: 63.03 kB / 8.141 GB, free: 107.8 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.4e-05/24.63, allocations: 22.06 kB / 8.141 GB, free: 107.8 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04764/24.68, allocations: 29.98 MB / 8.17 GB, free: 97.46 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01505/24.7, allocations: 4.664 MB / 8.175 GB, free: 96.46 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008146/24.71, allocations: 242.3 kB / 8.175 GB, free: 96.46 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0205/24.73, allocations: 1.22 MB / 8.176 GB, free: 96.41 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002736/24.73, allocations: 0.6232 MB / 8.177 GB, free: 96.39 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003279/24.73, allocations: 0.5446 MB / 8.178 GB, free: 96.39 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.0332/24.77, allocations: 14.13 MB / 8.191 GB, free: 111.8 MB / 1.261 GB Notification: Performance of sort global known variables: time 2.81e-07/24.77, allocations: 0 / 8.191 GB, free: 111.8 MB / 1.261 GB Notification: Performance of remove unused functions: time 0.05125/24.82, allocations: 10.69 MB / 8.202 GB, free: 110.7 MB / 1.261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1043): * Single equations (assignments): 1037 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.0551/24.87, allocations: 31.23 MB / 8.232 GB, free: 100.9 MB / 1.261 GB Notification: Performance of simCode: created initialization part: time 0.046/24.92, allocations: 23.94 MB / 8.256 GB, free: 100.4 MB / 1.261 GB Notification: Performance of simCode: created event and clocks part: time 5.963e-05/24.92, allocations: 25.52 kB / 8.256 GB, free: 100.3 MB / 1.261 GB Notification: Performance of simCode: created simulation system equations: time 0.01424/24.93, allocations: 6.5 MB / 8.262 GB, free: 99.75 MB / 1.261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05713/24.99, allocations: 11.38 MB / 8.273 GB, free: 97.98 MB / 1.261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1072/25.1, allocations: 46.09 MB / 8.318 GB, free: 80.76 MB / 1.261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01626/25.11, allocations: 13.36 MB / 8.331 GB, free: 71.06 MB / 1.261 GB Notification: Performance of simCode: alias equations: time 0.06152/25.17, allocations: 18.28 MB / 8.349 GB, free: 58.93 MB / 1.261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02178/25.2, allocations: 8.993 MB / 8.358 GB, free: 50.66 MB / 1.261 GB Notification: Performance of SimCode: time 1.853e-06/25.2, allocations: 3.656 kB / 8.358 GB, free: 50.66 MB / 1.261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.211/27.41, allocations: 0.5638 GB / 8.922 GB, free: 160.2 MB / 1.339 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/27.41, allocations: 212.5 kB / 8.922 GB, free: 159.9 MB / 1.339 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.65/56.06, allocations: 0 / 8.922 GB, free: 159.9 MB / 1.339 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat does not exist to compare? outputFormat=mat