Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001213, allocations: 184 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.4 MB / 0.5775 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 93.86 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003594, allocations: 16.62 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2641, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.222/5.487, allocations: 2.182 GB / 3.083 GB, free: 38.31 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/5.487, allocations: 89.64 kB / 3.083 GB, free: 38.22 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.03/6.517, allocations: 192 MB / 3.27 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.162e-06/6.517, allocations: 0 / 3.27 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.19e-05/6.517, allocations: 11.98 kB / 3.27 GB, free: 207.8 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001819/6.519, allocations: 0.6666 MB / 3.271 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/6.519, allocations: 11.97 kB / 3.271 GB, free: 207 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006649/6.52, allocations: 79.56 kB / 3.271 GB, free: 207 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005613/6.52, allocations: 295.5 kB / 3.271 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/6.52, allocations: 16.44 kB / 3.271 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/6.52, allocations: 27.95 kB / 3.271 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006464/6.521, allocations: 316.2 kB / 3.271 GB, free: 206.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/6.521, allocations: 0 / 3.271 GB, free: 206.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/6.521, allocations: 8 kB / 3.272 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/6.521, allocations: 12 kB / 3.272 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006255/6.522, allocations: 268.9 kB / 3.272 GB, free: 206 MB / 0.8855 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.001642/6.523, allocations: 1.248 MB / 3.273 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003926/6.524, allocations: 182.5 kB / 3.273 GB, free: 204.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004936/6.524, allocations: 303.2 kB / 3.273 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/6.524, allocations: 42.48 kB / 3.273 GB, free: 204 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/6.524, allocations: 0 / 3.273 GB, free: 204 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.002206/6.526, allocations: 0.6125 MB / 3.274 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/6.526, allocations: 55.34 kB / 3.274 GB, free: 203.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/6.527, allocations: 233.8 kB / 3.274 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/6.527, allocations: 33.7 kB / 3.274 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/6.527, allocations: 164.1 kB / 3.275 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/6.527, allocations: 47.3 kB / 3.275 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/6.527, allocations: 4 kB / 3.275 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.446e-05/6.527, allocations: 330.8 kB / 3.275 GB, free: 202.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/6.527, allocations: 111.9 kB / 3.275 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/6.528, allocations: 166.8 kB / 3.275 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/6.528, allocations: 115.9 kB / 3.275 GB, free: 202.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/6.528, allocations: 4 kB / 3.275 GB, free: 202.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001101/6.529, allocations: 391.8 kB / 3.276 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/6.529, allocations: 4 kB / 3.276 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/6.529, allocations: 4 kB / 3.276 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006245/6.53, allocations: 88.83 kB / 3.276 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/6.53, allocations: 51.95 kB / 3.276 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/6.532, allocations: 1.591 MB / 3.277 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/6.532, allocations: 47.88 kB / 3.277 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/6.532, allocations: 8 kB / 3.277 GB, free: 199.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001679/6.532, allocations: 141.8 kB / 3.278 GB, free: 199.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/6.532, allocations: 27.72 kB / 3.278 GB, free: 199.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/6.534, allocations: 396.9 kB / 3.278 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/6.534, allocations: 4 kB / 3.278 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/6.534, allocations: 0 / 3.278 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/6.534, allocations: 3.953 kB / 3.278 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/6.535, allocations: 0.7864 MB / 3.279 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/6.535, allocations: 4.094 kB / 3.279 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/6.535, allocations: 47.89 kB / 3.279 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/6.536, allocations: 88.77 kB / 3.279 GB, free: 198.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/6.536, allocations: 8 kB / 3.279 GB, free: 198.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/6.537, allocations: 1.613 MB / 3.28 GB, free: 196.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/6.537, allocations: 4.031 kB / 3.28 GB, free: 196.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/6.538, allocations: 0.505 MB / 3.281 GB, free: 195.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/6.538, allocations: 124.7 kB / 3.281 GB, free: 195.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/6.538, allocations: 8.062 kB / 3.281 GB, free: 195.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/6.539, allocations: 27.97 kB / 3.281 GB, free: 195.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.478e-05/6.539, allocations: 27.91 kB / 3.281 GB, free: 195.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/6.539, allocations: 12 kB / 3.281 GB, free: 195.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001342/6.539, allocations: 182 kB / 3.281 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/6.539, allocations: 0 / 3.281 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007372/6.54, allocations: 155.8 kB / 3.281 GB, free: 195.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (12): * Single equations (assignments): 11 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001249/6.541, allocations: 0.9301 MB / 3.282 GB, free: 194.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009191/6.542, allocations: 405.3 kB / 3.283 GB, free: 194 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/6.542, allocations: 0 / 3.283 GB, free: 194 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005245/6.542, allocations: 262.7 kB / 3.283 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006129/6.543, allocations: 116.3 kB / 3.283 GB, free: 193.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009095/6.544, allocations: 0.6059 MB / 3.284 GB, free: 193 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/6.544, allocations: 0.7761 MB / 3.284 GB, free: 192.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001973/6.544, allocations: 54.25 kB / 3.285 GB, free: 192.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/6.545, allocations: 19.44 kB / 3.285 GB, free: 192.1 MB / 0.8855 GB Notification: Performance of SimCode: time 4.51e-07/6.545, allocations: 0 / 3.285 GB, free: 192.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.02251/6.567, allocations: 16.7 MB / 3.301 GB, free: 175.5 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches