Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.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.ExtremeAmbientConditions,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",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.476/2.476, allocations: 393.5 MB / 408.4 MB, free: 11 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.001743/0.001743, allocations: 182 kB / 0.4901 GB, free: 2.266 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.736/1.736, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.001505/0.001505, allocations: 95.58 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003876, allocations: 10.94 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3359, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.25/1.586, allocations: 430.9 MB / 1.65 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/1.586, allocations: 95.97 kB / 1.65 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.235/4.821, allocations: 0.8049 GB / 2.455 GB, free: 238.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.585e-06/4.821, allocations: 0 / 2.455 GB, free: 238.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005924/4.822, allocations: 100.7 kB / 2.455 GB, free: 238.2 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: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 0.0143/4.836, allocations: 4.129 MB / 2.459 GB, free: 236.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/4.836, allocations: 7.875 kB / 2.459 GB, free: 236.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001862/4.838, allocations: 427.1 kB / 2.46 GB, free: 236.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/4.849, allocations: 1.619 MB / 2.461 GB, free: 236.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01363/4.863, allocations: 4.213 MB / 2.465 GB, free: 235.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004638/4.863, allocations: 221.3 kB / 2.466 GB, free: 235.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001945/4.865, allocations: 302.2 kB / 2.466 GB, free: 235.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0169/4.882, allocations: 4.562 MB / 2.47 GB, free: 235.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000184/4.883, allocations: 0 / 2.47 GB, free: 235.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001182/4.884, allocations: 126.9 kB / 2.47 GB, free: 235.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/4.884, allocations: 136.6 kB / 2.471 GB, free: 235.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/4.898, allocations: 4.628 MB / 2.475 GB, free: 235.3 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.0324/4.93, allocations: 15.74 MB / 2.49 GB, free: 230.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007128/4.938, allocations: 2.66 MB / 2.493 GB, free: 230.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001608/4.939, allocations: 1.643 MB / 2.495 GB, free: 228.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.02e-05/4.939, allocations: 55 kB / 2.495 GB, free: 228.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=164): time 4.329e-06/4.939, allocations: 0 / 2.495 GB, free: 228.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=164): time 0.01232/4.952, allocations: 4.096 MB / 2.499 GB, free: 228.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/4.952, allocations: 119.2 kB / 2.499 GB, free: 228.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005435/4.957, allocations: 3.042 MB / 2.502 GB, free: 227.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006115/4.958, allocations: 58.14 kB / 2.502 GB, free: 227.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001271/4.959, allocations: 1.651 MB / 2.503 GB, free: 227.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000755/4.96, allocations: 0.5634 MB / 2.504 GB, free: 226.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/4.96, allocations: 42.16 kB / 2.504 GB, free: 226.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000139/4.96, allocations: 398.4 kB / 2.504 GB, free: 226.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003709/4.964, allocations: 1.411 MB / 2.506 GB, free: 226.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003856/4.968, allocations: 1.893 MB / 2.508 GB, free: 225.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004105/4.972, allocations: 1.62 MB / 2.509 GB, free: 224.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/4.972, allocations: 3.312 kB / 2.509 GB, free: 224.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.009742/4.982, allocations: 3.747 MB / 2.513 GB, free: 223.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001238/4.983, allocations: 4.915 MB / 2.518 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/4.983, allocations: 15.38 kB / 2.518 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.853e-05/4.983, allocations: 22.72 kB / 2.518 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00406/4.987, allocations: 0.6938 MB / 2.518 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.536e-05/4.987, allocations: 31.08 kB / 2.518 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005725/4.993, allocations: 0.521 MB / 2.519 GB, free: 217.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003837/4.993, allocations: 113.8 kB / 2.519 GB, free: 217.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/4.993, allocations: 3.719 kB / 2.519 GB, free: 217.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008813/5.002, allocations: 3.449 MB / 2.522 GB, free: 216.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.414e-05/5.002, allocations: 14.12 kB / 2.522 GB, free: 216.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/5.002, allocations: 25.62 kB / 2.522 GB, free: 216.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003765/5.006, allocations: 0.6913 MB / 2.523 GB, free: 216.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.392e-05/5.006, allocations: 29.8 kB / 2.523 GB, free: 216.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004615/5.011, allocations: 474 kB / 2.524 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003684/5.011, allocations: 116.1 kB / 2.524 GB, free: 216.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (276): * Single equations (assignments): 276 * 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.00268/5.014, allocations: 1.138 MB / 2.525 GB, free: 215.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/5.015, allocations: 331 kB / 2.525 GB, free: 215.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008621/5.024, allocations: 3.492 MB / 2.529 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/5.024, allocations: 18.28 kB / 2.529 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/5.024, allocations: 3.953 kB / 2.529 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006334/5.03, allocations: 2.752 MB / 2.531 GB, free: 213.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/5.046, allocations: 8.094 MB / 2.539 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/5.046, allocations: 7.906 kB / 2.539 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002837/5.049, allocations: 496.2 kB / 2.54 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.832e-05/5.049, allocations: 10.59 kB / 2.54 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001975/5.049, allocations: 59.09 kB / 2.54 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/5.049, allocations: 7.719 kB / 2.54 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/5.049, allocations: 8.656 kB / 2.54 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/5.06, allocations: 5.21 MB / 2.545 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003574/5.064, allocations: 0.8691 MB / 2.546 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009002/5.065, allocations: 39.59 kB / 2.546 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0034/5.068, allocations: 277.5 kB / 2.546 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/5.068, allocations: 112.8 kB / 2.546 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002067/5.069, allocations: 84.67 kB / 2.546 GB, free: 206.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004213/5.073, allocations: 2.551 MB / 2.549 GB, free: 204.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.81e-07/5.073, allocations: 0 / 2.549 GB, free: 204.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006202/5.079, allocations: 1.804 MB / 2.55 GB, free: 204.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 6 (solAsh.vol[1].dynBal.U,solAsh.vol[2].dynBal.U,solAsh.vol[3].dynBal.U,solEn.vol[1].dynBal.U,solEn.vol[2].dynBal.U,solEn.vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0132/5.092, allocations: 7.417 MB / 2.558 GB, free: 199.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0123/5.105, allocations: 4.969 MB / 2.562 GB, free: 195.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.707e-05/5.105, allocations: 4.438 kB / 2.562 GB, free: 195.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003289/5.108, allocations: 1.4 MB / 2.564 GB, free: 193.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007662/5.116, allocations: 1.569 MB / 2.565 GB, free: 192.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02092/5.137, allocations: 19.95 MB / 2.585 GB, free: 171.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/5.138, allocations: 2.526 MB / 2.587 GB, free: 168.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006692/5.145, allocations: 1.414 MB / 2.589 GB, free: 167.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002409/5.148, allocations: 1.46 MB / 2.59 GB, free: 165.8 MB / 1.167 GB Notification: Performance of SimCode: time 9.41e-07/5.148, allocations: 0 / 2.59 GB, free: 165.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1283/5.276, allocations: 98.65 MB / 2.686 GB, free: 69.27 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001297/5.276, allocations: 239.7 kB / 2.687 GB, free: 69.03 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.412/10.69, allocations: 0 / 2.687 GB, free: 69.03 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions_res.mat does not exist to compare? outputFormat=mat