Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.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.ExtremeAmbientConditions,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",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.41/2.41, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001196/0.001196, allocations: 185 kB / 498.1 MB, free: 5.781 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.631/1.631, allocations: 223.2 MB / 0.7948 GB, free: 18 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.0009056/0.0009056, allocations: 86.98 kB / 0.9346 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004028, allocations: 10.81 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3232, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.278/1.601, allocations: 430.9 MB / 1.644 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004094/1.602, allocations: 102.1 kB / 1.644 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.233/4.835, allocations: 0.8049 GB / 2.449 GB, free: 244.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.896e-06/4.835, allocations: 0 / 2.449 GB, free: 244.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006613/4.835, allocations: 103.7 kB / 2.449 GB, free: 244.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.01542/4.851, allocations: 4.116 MB / 2.453 GB, free: 242.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/4.851, allocations: 13.56 kB / 2.453 GB, free: 242.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002332/4.853, allocations: 426.2 kB / 2.453 GB, free: 242.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/4.864, allocations: 1.619 MB / 2.455 GB, free: 242.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01275/4.877, allocations: 4.208 MB / 2.459 GB, free: 241.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/4.878, allocations: 220.2 kB / 2.459 GB, free: 241.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001673/4.879, allocations: 302.7 kB / 2.459 GB, free: 241.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0162/4.895, allocations: 4.556 MB / 2.464 GB, free: 241.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002278/4.896, allocations: 7.281 kB / 2.464 GB, free: 241.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001419/4.897, allocations: 126 kB / 2.464 GB, free: 241.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001665/4.897, allocations: 137.5 kB / 2.464 GB, free: 241.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/4.912, allocations: 4.622 MB / 2.469 GB, free: 241.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.03454/4.947, allocations: 15.75 MB / 2.484 GB, free: 236.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007377/4.954, allocations: 2.666 MB / 2.487 GB, free: 236.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001673/4.956, allocations: 1.638 MB / 2.488 GB, free: 234.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.417e-05/4.956, allocations: 54.84 kB / 2.488 GB, free: 234.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=164): time 4.619e-06/4.956, allocations: 0 / 2.488 GB, free: 234.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=164): time 0.01377/4.97, allocations: 4.087 MB / 2.492 GB, free: 234.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/4.97, allocations: 121.9 kB / 2.492 GB, free: 234 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006985/4.977, allocations: 3.048 MB / 2.495 GB, free: 233.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006916/4.977, allocations: 63.97 kB / 2.495 GB, free: 233.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001737/4.979, allocations: 1.642 MB / 2.497 GB, free: 233.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/4.98, allocations: 0.5695 MB / 2.498 GB, free: 232.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004623/4.981, allocations: 45.56 kB / 2.498 GB, free: 232.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002114/4.981, allocations: 390 kB / 2.498 GB, free: 232.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004057/4.985, allocations: 1.41 MB / 2.499 GB, free: 232.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004425/4.989, allocations: 1.894 MB / 2.501 GB, free: 232 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00431/4.994, allocations: 1.619 MB / 2.503 GB, free: 231.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.901e-05/4.994, allocations: 10.58 kB / 2.503 GB, free: 231.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01079/5.005, allocations: 3.745 MB / 2.506 GB, free: 230.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001377/5.006, allocations: 4.915 MB / 2.511 GB, free: 225.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/5.006, allocations: 13.5 kB / 2.511 GB, free: 225.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.633e-05/5.006, allocations: 23.72 kB / 2.511 GB, free: 225.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004157/5.01, allocations: 0.6929 MB / 2.512 GB, free: 225.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.953e-05/5.01, allocations: 30.23 kB / 2.512 GB, free: 225.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005681/5.016, allocations: 0.5168 MB / 2.513 GB, free: 225.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006217/5.017, allocations: 125.7 kB / 2.513 GB, free: 225 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/5.017, allocations: 7.062 kB / 2.513 GB, free: 225 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0102/5.027, allocations: 3.439 MB / 2.516 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.182e-05/5.027, allocations: 10.12 kB / 2.516 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.343e-05/5.027, allocations: 22.38 kB / 2.516 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00393/5.031, allocations: 0.6948 MB / 2.517 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-05/5.031, allocations: 30 kB / 2.517 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004886/5.036, allocations: 484.2 kB / 2.517 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004522/5.037, allocations: 113.1 kB / 2.517 GB, free: 223.7 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.003423/5.04, allocations: 1.131 MB / 2.518 GB, free: 223.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001808/5.042, allocations: 325.5 kB / 2.519 GB, free: 223 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/5.052, allocations: 3.5 MB / 2.522 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/5.053, allocations: 17.72 kB / 2.522 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/5.053, allocations: 0 / 2.522 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007083/5.06, allocations: 2.752 MB / 2.525 GB, free: 220.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01801/5.078, allocations: 8.092 MB / 2.533 GB, free: 216.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/5.078, allocations: 9.469 kB / 2.533 GB, free: 216.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002843/5.081, allocations: 491.5 kB / 2.533 GB, free: 216.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.739e-05/5.081, allocations: 11.41 kB / 2.533 GB, free: 216.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/5.081, allocations: 57.8 kB / 2.533 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.584e-05/5.081, allocations: 14.98 kB / 2.533 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/5.081, allocations: 6 kB / 2.533 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/5.092, allocations: 5.209 MB / 2.538 GB, free: 214 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003266/5.095, allocations: 0.8711 MB / 2.539 GB, free: 213.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001432/5.097, allocations: 43.48 kB / 2.539 GB, free: 213.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004506/5.101, allocations: 278.1 kB / 2.54 GB, free: 213.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/5.102, allocations: 110.4 kB / 2.54 GB, free: 213.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003092/5.102, allocations: 93.56 kB / 2.54 GB, free: 213.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005606/5.108, allocations: 2.546 MB / 2.542 GB, free: 212.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.61e-07/5.108, allocations: 0 / 2.542 GB, free: 212.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.008055/5.116, allocations: 1.803 MB / 2.544 GB, free: 212.1 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.01393/5.13, allocations: 7.404 MB / 2.551 GB, free: 208 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01267/5.142, allocations: 4.973 MB / 2.556 GB, free: 206.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/5.142, allocations: 4.219 kB / 2.556 GB, free: 206.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003769/5.146, allocations: 1.403 MB / 2.557 GB, free: 206.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008814/5.155, allocations: 1.56 MB / 2.559 GB, free: 205.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02433/5.179, allocations: 19.95 MB / 2.578 GB, free: 186.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002706/5.182, allocations: 2.529 MB / 2.581 GB, free: 184.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.007156/5.189, allocations: 1.414 MB / 2.582 GB, free: 183.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002547/5.192, allocations: 1.466 MB / 2.584 GB, free: 182.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.493e-06/5.192, allocations: 0 / 2.584 GB, free: 182.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1328/5.325, allocations: 98.52 MB / 2.68 GB, free: 87 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/5.325, allocations: 246 kB / 2.68 GB, free: 86.75 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.174/10.5, allocations: 3.125 kB / 2.68 GB, free: 86.75 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions_res.mat does not exist to compare? outputFormat=mat