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: translateModel(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAsh.vol.1..T|solAsh.vol.2..T|solAsh.vol.3..T|solEn.vol.1..T|solEn.vol.2..T|solEn.vol.3..T|weaBus.TDryBul|solAsh.QLos.1..Q_flow|solAsh.QLos.2..Q_flow|solAsh.QLos.3..Q_flow|solEn.QLos.1..Q_flow|solEn.QLos.2..Q_flow|solEn.QLos.3..Q_flow|weaBus.HDifHor",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions") translateModel(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAsh.vol.1..T|solAsh.vol.2..T|solAsh.vol.3..T|solEn.vol.1..T|solEn.vol.2..T|solEn.vol.3..T|weaBus.TDryBul|solAsh.QLos.1..Q_flow|solAsh.QLos.2..Q_flow|solAsh.QLos.3..Q_flow|solEn.QLos.1..Q_flow|solEn.QLos.2..Q_flow|solEn.QLos.3..Q_flow|weaBus.HDifHor",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.714/2.714, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001282/0.001282, allocations: 176 kB / 0.4902 GB, free: 2.219 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.654/1.654, allocations: 223.2 MB / 0.7992 GB, free: 14.69 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.001353/0.001353, allocations: 99 kB / 0.9396 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005249/0.0005249, allocations: 14.81 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4018, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.549/1.951, allocations: 430.9 MB / 1.65 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005343/1.952, allocations: 96.02 kB / 1.65 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.812/5.763, allocations: 0.8049 GB / 2.455 GB, free: 239.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.917e-06/5.763, allocations: 0 / 2.455 GB, free: 239.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0009095/5.764, allocations: 100.3 kB / 2.455 GB, free: 239.1 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.0176/5.782, allocations: 4.122 MB / 2.459 GB, free: 237.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/5.782, allocations: 13.61 kB / 2.459 GB, free: 237.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/5.794, allocations: 1.613 MB / 2.461 GB, free: 237.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01407/5.808, allocations: 4.214 MB / 2.465 GB, free: 236.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002964/5.808, allocations: 220.2 kB / 2.465 GB, free: 236.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001814/5.81, allocations: 305.2 kB / 2.465 GB, free: 236.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/5.824, allocations: 4.557 MB / 2.47 GB, free: 236.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.944e-05/5.824, allocations: 8.484 kB / 2.47 GB, free: 236.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004461/5.824, allocations: 119.5 kB / 2.47 GB, free: 236.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001249/5.824, allocations: 134.4 kB / 2.47 GB, free: 236.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01322/5.838, allocations: 4.627 MB / 2.475 GB, free: 236.2 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.03347/5.871, allocations: 15.76 MB / 2.49 GB, free: 231.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007134/5.878, allocations: 2.669 MB / 2.493 GB, free: 231.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001982/5.88, allocations: 1.637 MB / 2.494 GB, free: 229.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.371e-05/5.88, allocations: 59.75 kB / 2.494 GB, free: 229.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=164): time 5.861e-06/5.88, allocations: 0 / 2.494 GB, free: 229.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=164): time 0.01363/5.894, allocations: 4.085 MB / 2.498 GB, free: 229.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/5.894, allocations: 123.6 kB / 2.498 GB, free: 228.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006715/5.901, allocations: 3.044 MB / 2.501 GB, free: 228.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008633/5.902, allocations: 64.08 kB / 2.501 GB, free: 228.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001417/5.903, allocations: 1.643 MB / 2.503 GB, free: 228.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/5.904, allocations: 0.5592 MB / 2.503 GB, free: 227.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/5.905, allocations: 42.78 kB / 2.504 GB, free: 227.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001543/5.905, allocations: 390.6 kB / 2.504 GB, free: 227.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003767/5.909, allocations: 1.414 MB / 2.505 GB, free: 226.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004009/5.913, allocations: 1.896 MB / 2.507 GB, free: 225.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003938/5.917, allocations: 1.623 MB / 2.509 GB, free: 225.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/5.917, allocations: 6.062 kB / 2.509 GB, free: 225.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.009838/5.926, allocations: 3.742 MB / 2.512 GB, free: 224 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001249/5.928, allocations: 4.915 MB / 2.517 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/5.928, allocations: 13.47 kB / 2.517 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.712e-05/5.928, allocations: 21.69 kB / 2.517 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004003/5.932, allocations: 0.6908 MB / 2.518 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.49e-05/5.932, allocations: 34.36 kB / 2.518 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00555/5.937, allocations: 0.5237 MB / 2.518 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004473/5.938, allocations: 119 kB / 2.519 GB, free: 218.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/5.938, allocations: 6.594 kB / 2.519 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008777/5.947, allocations: 3.441 MB / 2.522 GB, free: 217.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.502e-05/5.947, allocations: 10.91 kB / 2.522 GB, free: 217.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/5.947, allocations: 22.47 kB / 2.522 GB, free: 217.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00371/5.951, allocations: 0.6926 MB / 2.523 GB, free: 217.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.345e-05/5.951, allocations: 32.84 kB / 2.523 GB, free: 217.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005353/5.956, allocations: 475.8 kB / 2.523 GB, free: 217.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003972/5.956, allocations: 112.1 kB / 2.523 GB, free: 217.2 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.003301/5.96, allocations: 1.144 MB / 2.524 GB, free: 216.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/5.961, allocations: 326.5 kB / 2.525 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009074/5.97, allocations: 3.491 MB / 2.528 GB, free: 215.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/5.97, allocations: 20.5 kB / 2.528 GB, free: 215.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/5.97, allocations: 3.375 kB / 2.528 GB, free: 215.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006316/5.977, allocations: 2.748 MB / 2.531 GB, free: 214.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/5.995, allocations: 8.101 MB / 2.539 GB, free: 210 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/5.995, allocations: 5.469 kB / 2.539 GB, free: 210 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002829/5.998, allocations: 490.5 kB / 2.539 GB, free: 210 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.989e-05/5.998, allocations: 13.53 kB / 2.539 GB, free: 210 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/5.998, allocations: 56.05 kB / 2.539 GB, free: 210 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.546e-05/5.998, allocations: 13.86 kB / 2.539 GB, free: 210 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/5.998, allocations: 7.281 kB / 2.539 GB, free: 210 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/6.01, allocations: 5.21 MB / 2.544 GB, free: 207.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003372/6.013, allocations: 0.8746 MB / 2.545 GB, free: 206.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009207/6.014, allocations: 37.47 kB / 2.545 GB, free: 206.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003697/6.018, allocations: 275.9 kB / 2.545 GB, free: 206.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002529/6.018, allocations: 107.5 kB / 2.546 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002244/6.018, allocations: 90.25 kB / 2.546 GB, free: 206.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005253/6.023, allocations: 2.547 MB / 2.548 GB, free: 205.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.854e-06/6.023, allocations: 1.938 kB / 2.548 GB, free: 205.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.008964/6.032, allocations: 1.804 MB / 2.55 GB, free: 205 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.002272/6.035, allocations: 0.7779 MB / 2.551 GB, free: 204.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01364/6.048, allocations: 4.968 MB / 2.556 GB, free: 202.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-05/6.048, allocations: 2.062 kB / 2.556 GB, free: 202.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003513/6.052, allocations: 1.407 MB / 2.557 GB, free: 200.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009049/6.061, allocations: 1.574 MB / 2.558 GB, free: 199.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/6.078, allocations: 8.355 MB / 2.567 GB, free: 190.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001996/6.08, allocations: 2.53 MB / 2.569 GB, free: 188.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.007121/6.087, allocations: 1.412 MB / 2.57 GB, free: 187 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/6.088, allocations: 304.3 kB / 2.571 GB, free: 186.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.553e-06/6.088, allocations: 0 / 2.571 GB, free: 186.7 MB / 1.167 GB Notification: Performance of Templates: time 0.1095/6.198, allocations: 67.26 MB / 2.636 GB, free: 121.1 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.makefile (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 & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches