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.133/2.133, allocations: 390.5 MB / 398 MB, free: 10.99 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.001246/0.001246, allocations: 176.9 kB / 491.2 MB, free: 1.566 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.473/1.473, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0009792/0.0009792, allocations: 87.59 kB / 0.9269 GB, free: 13.87 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.137e-05/2.14e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2509, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.32/5.571, allocations: 2.201 GB / 3.414 GB, free: 96.93 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/5.571, allocations: 91.94 kB / 3.414 GB, free: 96.84 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 16.12/21.69, allocations: 4.225 GB / 7.639 GB, free: 145 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.714e-06/21.69, allocations: 0 / 7.639 GB, free: 145 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004003/21.7, allocations: 0.6043 MB / 7.639 GB, free: 144.8 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.06013/21.76, allocations: 18.38 MB / 7.657 GB, free: 138.4 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/21.76, allocations: 7.062 kB / 7.657 GB, free: 138.4 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02519/21.78, allocations: 4.005 MB / 7.661 GB, free: 137.1 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07568/21.86, allocations: 29.83 MB / 7.69 GB, free: 134.6 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001173/21.86, allocations: 0.5367 MB / 7.691 GB, free: 134.6 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007059/21.87, allocations: 0.9841 MB / 7.692 GB, free: 134.6 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04443/21.91, allocations: 19.65 MB / 7.711 GB, free: 134.6 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06994/21.98, allocations: 22.46 MB / 7.733 GB, free: 131.9 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001731/21.98, allocations: 72.94 kB / 7.733 GB, free: 131.9 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008067/21.99, allocations: 42.23 kB / 7.733 GB, free: 131.9 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008983/21.99, allocations: 0.8771 MB / 7.734 GB, free: 131.9 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.1736/22.16, allocations: 96.08 MB / 7.828 GB, free: 95.04 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02199/22.19, allocations: 14.53 MB / 7.842 GB, free: 89.89 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01181/22.2, allocations: 7.604 MB / 7.849 GB, free: 86.99 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002862/22.2, allocations: 2.034 MB / 7.851 GB, free: 84.96 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01576/22.22, allocations: 7.166 MB / 7.858 GB, free: 82.46 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1037): time 1.482e-05/22.22, allocations: 0 / 7.858 GB, free: 82.46 MB / 1.214 GB Notification: Performance of matching and sorting (n=1037): time 0.1435/22.36, allocations: 22.33 MB / 7.88 GB, free: 73.17 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/22.36, allocations: 416.6 kB / 7.88 GB, free: 72.69 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03361/22.39, allocations: 15.09 MB / 7.895 GB, free: 59.74 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.003352/22.4, allocations: 45.45 kB / 7.895 GB, free: 59.7 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01272/22.41, allocations: 9.694 MB / 7.905 GB, free: 50.91 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.006595/22.42, allocations: 3.484 MB / 7.908 GB, free: 47.7 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001937/22.42, allocations: 0 / 7.908 GB, free: 47.7 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001024/22.42, allocations: 0.8351 MB / 7.909 GB, free: 47 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009585/22.43, allocations: 6.087 MB / 7.915 GB, free: 41.67 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01236/22.44, allocations: 9.653 MB / 7.924 GB, free: 31.46 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3142/22.76, allocations: 32.06 MB / 7.956 GB, free: 8.938 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000149/22.76, allocations: 28 kB / 7.956 GB, free: 8.91 MB / 1.214 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 1.149/23.91, allocations: 41.16 MB / 7.996 GB, free: 168 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.01279/23.92, allocations: 69.16 MB / 8.063 GB, free: 95.71 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005452/23.92, allocations: 109.8 kB / 8.063 GB, free: 95.71 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004842/23.92, allocations: 188 kB / 8.064 GB, free: 95.71 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0195/23.94, allocations: 3.551 MB / 8.067 GB, free: 95.71 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004246/23.94, allocations: 242.5 kB / 8.067 GB, free: 95.71 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02455/23.96, allocations: 1.985 MB / 8.069 GB, free: 95.71 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004124/23.97, allocations: 0.6264 MB / 8.07 GB, free: 95.71 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/23.97, allocations: 3.406 kB / 8.07 GB, free: 95.71 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3433/24.31, allocations: 39.51 MB / 8.108 GB, free: 95.45 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004872/24.31, allocations: 108.6 kB / 8.108 GB, free: 95.44 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002759/24.31, allocations: 188.2 kB / 8.109 GB, free: 95.44 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01765/24.33, allocations: 3.549 MB / 8.112 GB, free: 95.44 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003682/24.33, allocations: 243.7 kB / 8.112 GB, free: 95.44 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02091/24.35, allocations: 1.735 MB / 8.114 GB, free: 95.34 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003683/24.35, allocations: 0.6268 MB / 8.115 GB, free: 95.34 MB / 1.229 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 () * 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.00736/24.36, allocations: 471.7 kB / 8.115 GB, free: 95.23 MB / 1.229 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1393/24.5, allocations: 22.32 MB / 8.137 GB, free: 93.54 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00696/24.51, allocations: 1.565 MB / 8.138 GB, free: 92.73 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1473/24.66, allocations: 24.12 MB / 8.162 GB, free: 91.52 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.659e-05/24.66, allocations: 105.8 kB / 8.162 GB, free: 91.52 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.932e-05/24.66, allocations: 3.469 kB / 8.162 GB, free: 91.52 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1364/24.79, allocations: 20.99 MB / 8.183 GB, free: 90.59 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1973/24.99, allocations: 44.38 MB / 8.226 GB, free: 88.16 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.355e-05/24.99, allocations: 3.625 kB / 8.226 GB, free: 88.16 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01408/25, allocations: 2.511 MB / 8.228 GB, free: 88.11 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001445/25, allocations: 37.66 kB / 8.228 GB, free: 88.11 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002521/25.01, allocations: 214.2 kB / 8.229 GB, free: 88.11 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000101/25.01, allocations: 32.84 kB / 8.229 GB, free: 88.11 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/25.01, allocations: 3.969 kB / 8.229 GB, free: 88.11 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1527/25.16, allocations: 31.68 MB / 8.26 GB, free: 85.38 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01881/25.18, allocations: 4.44 MB / 8.264 GB, free: 84.47 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01038/25.19, allocations: 63.5 kB / 8.264 GB, free: 84.47 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0209/25.21, allocations: 1.182 MB / 8.265 GB, free: 84.3 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002994/25.21, allocations: 0.5796 MB / 8.266 GB, free: 84.29 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003738/25.22, allocations: 0.5389 MB / 8.266 GB, free: 84.29 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02654/25.24, allocations: 11.6 MB / 8.278 GB, free: 83.85 MB / 1.229 GB Notification: Performance of sort global known variables: time 4.71e-07/25.24, allocations: 0 / 8.278 GB, free: 83.85 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.04858/25.29, allocations: 10.41 MB / 8.288 GB, free: 82.71 MB / 1.229 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) * 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.1673/25.46, allocations: 33.91 MB / 8.321 GB, free: 71.03 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.04555/25.5, allocations: 23.2 MB / 8.344 GB, free: 57.23 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-05/25.5, allocations: 18.3 kB / 8.344 GB, free: 57.21 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01298/25.52, allocations: 6.428 MB / 8.35 GB, free: 51.47 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0498/25.57, allocations: 9.336 MB / 8.359 GB, free: 44.89 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1126/25.68, allocations: 44.35 MB / 8.402 GB, free: 6.812 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03848/25.72, allocations: 14.62 MB / 8.417 GB, free: 15.96 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.07033/25.79, allocations: 16.33 MB / 8.432 GB, free: 5.082 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0306/25.82, allocations: 9.687 MB / 8.442 GB, free: 15.36 MB / 1.26 GB Notification: Performance of SimCode: time 8.72e-07/25.82, allocations: 7.391 kB / 8.442 GB, free: 15.36 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.271/28.09, allocations: 491.8 MB / 8.922 GB, free: 9.203 MB / 1.323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/28.09, allocations: 192.8 kB / 8.922 GB, free: 9.012 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.75/56.84, allocations: 0 / 8.922 GB, free: 9.012 MB / 1.323 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