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.389/1.389, allocations: 249.5 MB / 257 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 183.2 kB / 316.3 MB, free: 3.293 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.3 MB / 0.5671 GB, free: 15.92 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.0007787/0.0007786, allocations: 94.77 kB / 0.6714 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.776e-05/1.778e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2165, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.317/6.533, allocations: 2.183 GB / 3.068 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/6.534, allocations: 86.27 kB / 3.068 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3322/6.866, allocations: 189.2 MB / 3.253 GB, free: 32.56 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.994e-06/6.866, allocations: 0 / 3.253 GB, free: 32.56 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.708e-05/6.866, allocations: 11.98 kB / 3.253 GB, free: 32.55 MB / 0.8698 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.001213/6.867, allocations: 0.6348 MB / 3.253 GB, free: 31.87 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/6.867, allocations: 11.97 kB / 3.253 GB, free: 31.86 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004885/6.868, allocations: 75.56 kB / 3.253 GB, free: 31.79 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/6.868, allocations: 297.9 kB / 3.254 GB, free: 31.46 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/6.868, allocations: 8 kB / 3.254 GB, free: 31.45 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/6.868, allocations: 12 kB / 3.254 GB, free: 31.44 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002837/6.869, allocations: 152.8 kB / 3.254 GB, free: 31.29 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/6.869, allocations: 243.4 kB / 3.254 GB, free: 31.03 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/6.869, allocations: 0 / 3.254 GB, free: 31.03 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/6.869, allocations: 0 / 3.254 GB, free: 31.03 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/6.869, allocations: 8 kB / 3.254 GB, free: 31.02 MB / 0.8698 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.001267/6.87, allocations: 1.193 MB / 3.255 GB, free: 29.73 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/6.871, allocations: 126.5 kB / 3.255 GB, free: 29.59 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.293e-05/6.871, allocations: 80.84 kB / 3.256 GB, free: 29.51 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004313/6.871, allocations: 299.3 kB / 3.256 GB, free: 29.16 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/6.871, allocations: 42.48 kB / 3.256 GB, free: 29.11 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/6.871, allocations: 0 / 3.256 GB, free: 29.11 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.001034/6.872, allocations: 286.1 kB / 3.256 GB, free: 28.82 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/6.872, allocations: 55.41 kB / 3.256 GB, free: 28.76 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/6.872, allocations: 176.5 kB / 3.256 GB, free: 28.58 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/6.872, allocations: 33.64 kB / 3.256 GB, free: 28.54 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/6.873, allocations: 168 kB / 3.257 GB, free: 28.37 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/6.873, allocations: 47.36 kB / 3.257 GB, free: 28.32 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/6.873, allocations: 3.938 kB / 3.257 GB, free: 28.32 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.117e-05/6.873, allocations: 330.8 kB / 3.257 GB, free: 27.99 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-05/6.873, allocations: 67.91 kB / 3.257 GB, free: 27.92 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.42e-05/6.873, allocations: 106.8 kB / 3.257 GB, free: 27.79 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/6.873, allocations: 100.2 kB / 3.257 GB, free: 27.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/6.873, allocations: 8 kB / 3.257 GB, free: 27.69 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000736/6.874, allocations: 275.9 kB / 3.257 GB, free: 27.41 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/6.874, allocations: 13.53 kB / 3.257 GB, free: 27.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/6.874, allocations: 0 / 3.257 GB, free: 27.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005475/6.874, allocations: 88.77 kB / 3.258 GB, free: 27.31 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/6.875, allocations: 51.91 kB / 3.258 GB, free: 27.26 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/6.876, allocations: 1.5 MB / 3.259 GB, free: 25.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/6.876, allocations: 40.08 kB / 3.259 GB, free: 25.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/6.876, allocations: 7.953 kB / 3.259 GB, free: 25.59 MB / 0.8698 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 () * 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 8.436e-05/6.876, allocations: 113 kB / 3.259 GB, free: 25.47 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/6.877, allocations: 23.81 kB / 3.259 GB, free: 25.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007406/6.877, allocations: 296.2 kB / 3.259 GB, free: 25.15 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/6.877, allocations: 7.953 kB / 3.259 GB, free: 25.14 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/6.877, allocations: 0 / 3.259 GB, free: 25.14 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/6.877, allocations: 3.984 kB / 3.259 GB, free: 25.14 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/6.878, allocations: 0.6698 MB / 3.26 GB, free: 24.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/6.878, allocations: 0 / 3.26 GB, free: 24.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/6.879, allocations: 39.97 kB / 3.26 GB, free: 24.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004287/6.879, allocations: 88.86 kB / 3.26 GB, free: 24.29 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/6.879, allocations: 4 kB / 3.26 GB, free: 24.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/6.88, allocations: 1.519 MB / 3.262 GB, free: 22.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/6.88, allocations: 12 kB / 3.262 GB, free: 22.63 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007248/6.881, allocations: 426.8 kB / 3.262 GB, free: 22.17 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.332e-05/6.881, allocations: 116.8 kB / 3.262 GB, free: 22.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/6.881, allocations: 4 kB / 3.262 GB, free: 22.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/6.881, allocations: 35.91 kB / 3.262 GB, free: 22 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/6.882, allocations: 19.97 kB / 3.262 GB, free: 21.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/6.882, allocations: 4 kB / 3.262 GB, free: 21.97 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.927e-05/6.882, allocations: 144.5 kB / 3.262 GB, free: 21.83 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.41e-07/6.882, allocations: 0 / 3.262 GB, free: 21.83 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006378/6.882, allocations: 143.8 kB / 3.263 GB, free: 21.69 MB / 0.8698 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 () * 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.001396/6.884, allocations: 1.061 MB / 3.264 GB, free: 20.62 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005599/6.884, allocations: 273.5 kB / 3.264 GB, free: 20.34 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/6.884, allocations: 4.25 kB / 3.264 GB, free: 20.34 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003216/6.885, allocations: 205.6 kB / 3.264 GB, free: 20.13 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/6.885, allocations: 95 kB / 3.264 GB, free: 20.04 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000608/6.886, allocations: 329 kB / 3.265 GB, free: 19.69 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/6.886, allocations: 0.7796 MB / 3.265 GB, free: 18.88 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001792/6.886, allocations: 46.05 kB / 3.265 GB, free: 18.84 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/6.886, allocations: 19.44 kB / 3.265 GB, free: 18.82 MB / 0.8698 GB Notification: Performance of SimCode: time 3.3e-07/6.886, allocations: 0 / 3.265 GB, free: 18.82 MB / 0.8698 GB Notification: Performance of Templates: time 0.01457/6.901, allocations: 9.855 MB / 3.275 GB, free: 9.027 MB / 0.8698 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