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.393/1.393, allocations: 249.3 MB / 261.8 MB, free: 5.832 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.001074/0.001074, allocations: 178.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008524/0.0008525, allocations: 82.53 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.614e-05/3.617e-05, allocations: 8 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2372, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.122/6.359, allocations: 2.182 GB / 3.074 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/6.36, allocations: 80.8 kB / 3.074 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.046/7.406, allocations: 191.7 MB / 3.262 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.755e-06/7.406, allocations: 0 / 3.262 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.341e-05/7.406, allocations: 10.86 kB / 3.262 GB, free: 249.8 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.001256/7.408, allocations: 0.6288 MB / 3.262 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/7.408, allocations: 9.812 kB / 3.262 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005343/7.408, allocations: 73 kB / 3.262 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/7.409, allocations: 300 kB / 3.263 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/7.409, allocations: 13.09 kB / 3.263 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/7.409, allocations: 26.22 kB / 3.263 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005561/7.409, allocations: 267.5 kB / 3.263 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/7.409, allocations: 0.9375 kB / 3.263 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/7.409, allocations: 8.625 kB / 3.263 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/7.41, allocations: 5.438 kB / 3.263 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003664/7.41, allocations: 170 kB / 3.263 GB, free: 249.1 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.001753/7.412, allocations: 1.253 MB / 3.264 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/7.412, allocations: 140.5 kB / 3.264 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/7.412, allocations: 88.19 kB / 3.264 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005265/7.413, allocations: 300.3 kB / 3.265 GB, free: 248 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/7.413, allocations: 31.98 kB / 3.265 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/7.413, allocations: 0.5312 kB / 3.265 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.001073/7.414, allocations: 273.2 kB / 3.265 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/7.414, allocations: 53.72 kB / 3.265 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/7.414, allocations: 226.3 kB / 3.265 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/7.414, allocations: 26.45 kB / 3.265 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/7.414, allocations: 168.6 kB / 3.265 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/7.414, allocations: 47.91 kB / 3.265 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/7.414, allocations: 0.8125 kB / 3.265 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.587e-05/7.414, allocations: 338.5 kB / 3.266 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/7.415, allocations: 59.12 kB / 3.266 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/7.415, allocations: 116.1 kB / 3.266 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/7.415, allocations: 74.06 kB / 3.266 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/7.415, allocations: 0.9062 kB / 3.266 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008422/7.416, allocations: 276.1 kB / 3.266 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/7.416, allocations: 5.031 kB / 3.266 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/7.416, allocations: 1.688 kB / 3.266 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005993/7.416, allocations: 92.5 kB / 3.266 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/7.417, allocations: 52.98 kB / 3.266 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/7.419, allocations: 1.565 MB / 3.268 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/7.419, allocations: 47.41 kB / 3.268 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/7.419, allocations: 8.688 kB / 3.268 GB, free: 245.8 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 9.24e-05/7.419, allocations: 118.3 kB / 3.268 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/7.419, allocations: 26.16 kB / 3.268 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008931/7.42, allocations: 299.9 kB / 3.268 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/7.42, allocations: 5.375 kB / 3.268 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/7.42, allocations: 4.688 kB / 3.268 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/7.42, allocations: 1.172 kB / 3.268 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/7.422, allocations: 0.6882 MB / 3.269 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/7.422, allocations: 1.734 kB / 3.269 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/7.422, allocations: 48.69 kB / 3.269 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004973/7.422, allocations: 88.58 kB / 3.269 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/7.422, allocations: 5.25 kB / 3.269 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/7.424, allocations: 1.592 MB / 3.271 GB, free: 244 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/7.424, allocations: 4.984 kB / 3.271 GB, free: 244 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008383/7.425, allocations: 415.9 kB / 3.271 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/7.425, allocations: 119.6 kB / 3.271 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/7.425, allocations: 6.812 kB / 3.271 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/7.425, allocations: 31.53 kB / 3.271 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.802e-05/7.425, allocations: 18.69 kB / 3.271 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/7.425, allocations: 13.97 kB / 3.271 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001961/7.426, allocations: 180.2 kB / 3.272 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/7.426, allocations: 0 / 3.272 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007947/7.427, allocations: 163.2 kB / 3.272 GB, free: 243.6 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.001672/7.428, allocations: 0.9368 MB / 3.273 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006929/7.429, allocations: 281.5 kB / 3.273 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/7.429, allocations: 0 / 3.273 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003998/7.429, allocations: 223.5 kB / 3.273 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/7.43, allocations: 111.2 kB / 3.273 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007616/7.431, allocations: 351 kB / 3.274 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/7.431, allocations: 0.7757 MB / 3.274 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002363/7.431, allocations: 52.56 kB / 3.274 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/7.431, allocations: 24.03 kB / 3.274 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.613e-06/7.431, allocations: 3.406 kB / 3.274 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.03492/7.466, allocations: 19.29 MB / 3.293 GB, free: 241.8 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