Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.FlatPlateNPanels,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",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.263/2.263, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001274/0.001274, allocations: 188.8 kB / 487.4 MB, free: 5.039 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.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 90.16 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.442e-05/2.446e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2508, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.586/5.837, allocations: 2.201 GB / 3.407 GB, free: 120.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/5.838, allocations: 95.94 kB / 3.407 GB, free: 120.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 16.94/22.78, allocations: 4.225 GB / 7.632 GB, free: 160.4 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.964e-06/22.78, allocations: 0 / 7.632 GB, free: 160.4 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003664/22.78, allocations: 0.6035 MB / 7.633 GB, free: 160.3 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.05548/22.84, allocations: 18.37 MB / 7.651 GB, free: 153.8 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/22.84, allocations: 10.22 kB / 7.651 GB, free: 153.8 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02616/22.86, allocations: 4.004 MB / 7.655 GB, free: 152.5 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07258/22.94, allocations: 29.83 MB / 7.684 GB, free: 150 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009659/22.94, allocations: 0.5352 MB / 7.684 GB, free: 150 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006644/22.94, allocations: 0.9903 MB / 7.685 GB, free: 150 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04445/22.99, allocations: 19.66 MB / 7.704 GB, free: 149.9 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06606/23.05, allocations: 22.46 MB / 7.726 GB, free: 147.3 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009977/23.06, allocations: 67.31 kB / 7.726 GB, free: 147.3 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006282/23.06, allocations: 36.88 kB / 7.726 GB, free: 147.3 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007787/23.06, allocations: 0.8858 MB / 7.727 GB, free: 147.3 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.1569/23.22, allocations: 96.09 MB / 7.821 GB, free: 110.4 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02072/23.24, allocations: 14.53 MB / 7.835 GB, free: 108.6 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01137/23.25, allocations: 7.609 MB / 7.843 GB, free: 105.7 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002426/23.25, allocations: 2.026 MB / 7.845 GB, free: 103.7 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01321/23.27, allocations: 7.154 MB / 7.852 GB, free: 101.2 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1037): time 1.546e-05/23.27, allocations: 0 / 7.852 GB, free: 101.2 MB / 1.214 GB Notification: Performance of matching and sorting (n=1037): time 0.1348/23.4, allocations: 22.34 MB / 7.873 GB, free: 95.43 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002052/23.4, allocations: 419.2 kB / 7.874 GB, free: 94.99 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02736/23.43, allocations: 15.09 MB / 7.889 GB, free: 82.05 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.002761/23.43, allocations: 41.7 kB / 7.889 GB, free: 82 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.009287/23.44, allocations: 9.69 MB / 7.898 GB, free: 73.23 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.005014/23.45, allocations: 3.498 MB / 7.902 GB, free: 70 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/23.45, allocations: 0 / 7.902 GB, free: 70 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0007032/23.45, allocations: 0.8376 MB / 7.902 GB, free: 69.31 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008251/23.46, allocations: 6.092 MB / 7.908 GB, free: 63.97 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0117/23.47, allocations: 9.645 MB / 7.918 GB, free: 53.77 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3147/23.78, allocations: 32.06 MB / 7.949 GB, free: 31.25 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/23.78, allocations: 32 kB / 7.949 GB, free: 31.21 MB / 1.214 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 1.134/24.92, allocations: 41.08 MB / 7.989 GB, free: 159.1 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.01381/24.93, allocations: 69.16 MB / 8.057 GB, free: 86.82 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004175/24.93, allocations: 103.4 kB / 8.057 GB, free: 86.82 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004105/24.93, allocations: 189.9 kB / 8.057 GB, free: 86.82 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01995/24.95, allocations: 3.55 MB / 8.06 GB, free: 86.82 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004577/24.95, allocations: 240.7 kB / 8.061 GB, free: 86.82 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02461/24.98, allocations: 1.984 MB / 8.063 GB, free: 86.82 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004203/24.98, allocations: 0.6243 MB / 8.063 GB, free: 86.82 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/24.98, allocations: 3.812 kB / 8.063 GB, free: 86.82 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3347/25.32, allocations: 39.51 MB / 8.102 GB, free: 86.55 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003149/25.32, allocations: 108.1 kB / 8.102 GB, free: 86.55 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/25.32, allocations: 187.3 kB / 8.102 GB, free: 86.55 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0182/25.34, allocations: 3.547 MB / 8.106 GB, free: 86.55 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003008/25.34, allocations: 252.3 kB / 8.106 GB, free: 86.54 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02186/25.36, allocations: 1.733 MB / 8.107 GB, free: 86.54 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003832/25.36, allocations: 0.6251 MB / 8.108 GB, free: 86.54 MB / 1.214 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.005748/25.37, allocations: 470 kB / 8.109 GB, free: 86.44 MB / 1.214 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1341/25.5, allocations: 22.33 MB / 8.13 GB, free: 85.42 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00808/25.51, allocations: 1.562 MB / 8.132 GB, free: 84.61 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1421/25.65, allocations: 24.13 MB / 8.155 GB, free: 83.4 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.753e-05/25.65, allocations: 103.2 kB / 8.156 GB, free: 83.4 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.193e-05/25.65, allocations: 0 / 8.156 GB, free: 83.4 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1735/25.83, allocations: 20.99 MB / 8.176 GB, free: 82.47 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1866/26.01, allocations: 44.39 MB / 8.219 GB, free: 80.03 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.897e-05/26.01, allocations: 3.812 kB / 8.219 GB, free: 80.03 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01358/26.03, allocations: 2.505 MB / 8.222 GB, free: 79.98 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/26.03, allocations: 35.62 kB / 8.222 GB, free: 79.98 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002401/26.03, allocations: 220.7 kB / 8.222 GB, free: 79.98 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-05/26.03, allocations: 34.34 kB / 8.222 GB, free: 79.98 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/26.03, allocations: 3.531 kB / 8.222 GB, free: 79.98 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1528/26.18, allocations: 31.68 MB / 8.253 GB, free: 93.27 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0166/26.2, allocations: 4.441 MB / 8.257 GB, free: 92.35 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0082/26.21, allocations: 59.56 kB / 8.257 GB, free: 92.35 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02233/26.23, allocations: 1.176 MB / 8.259 GB, free: 92.19 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003226/26.23, allocations: 0.5814 MB / 8.259 GB, free: 92.18 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003934/26.24, allocations: 0.5366 MB / 8.26 GB, free: 92.18 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02641/26.26, allocations: 11.6 MB / 8.271 GB, free: 91.74 MB / 1.229 GB Notification: Performance of sort global known variables: time 4.7e-07/26.26, allocations: 0.9375 kB / 8.271 GB, free: 91.74 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.05336/26.32, allocations: 10.41 MB / 8.281 GB, free: 90.6 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.1633/26.48, allocations: 33.93 MB / 8.314 GB, free: 82.64 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.04498/26.52, allocations: 23.19 MB / 8.337 GB, free: 69.89 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 3.519e-05/26.52, allocations: 22.3 kB / 8.337 GB, free: 69.87 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01218/26.54, allocations: 6.433 MB / 8.343 GB, free: 65 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04926/26.59, allocations: 9.305 MB / 8.352 GB, free: 58.44 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1121/26.7, allocations: 44.34 MB / 8.396 GB, free: 20.39 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01909/26.72, allocations: 13.39 MB / 8.409 GB, free: 10.68 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.06423/26.78, allocations: 16.42 MB / 8.425 GB, free: 0 / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03599/26.82, allocations: 10.01 MB / 8.435 GB, free: 11.91 MB / 1.245 GB Notification: Performance of SimCode: time 9.52e-07/26.82, allocations: 0 / 8.435 GB, free: 11.91 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.424/28.24, allocations: 491.8 MB / 8.915 GB, free: 7.922 MB / 1.323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/28.24, allocations: 186.6 kB / 8.915 GB, free: 7.73 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.39/55.63, allocations: 0.7656 kB / 8.915 GB, free: 7.73 MB / 1.323 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels_res.mat does not exist to compare? outputFormat=mat