Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 99 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.2 MB / 239.9 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.539/2.539, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003421, allocations: 19.98 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6338/0.6341, allocations: 153.7 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1461/0.7802, allocations: 135.6 MB / 1.153 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004026/0.7843, allocations: 3.037 MB / 1.156 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.7846, allocations: 7.938 kB / 1.156 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005243/0.7851, allocations: 167.2 kB / 1.156 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008644/0.786, allocations: 355 kB / 1.157 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.7872, allocations: 476.1 kB / 1.157 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004863/0.7877, allocations: 376.6 kB / 1.158 GB, free: 4.766 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003159/0.7881, allocations: 180.4 kB / 1.158 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006809/0.7887, allocations: 350.9 kB / 1.158 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.7889, allocations: 135.5 kB / 1.158 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.789, allocations: 12 kB / 1.158 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005308/0.7895, allocations: 255.6 kB / 1.158 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.496e-05/0.7896, allocations: 83.7 kB / 1.159 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.7897, allocations: 73.58 kB / 1.159 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.7901, allocations: 315.3 kB / 1.159 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.7901, allocations: 4 kB / 1.159 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7901, allocations: 0 / 1.159 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.7901, allocations: 0 / 1.159 GB, free: 3.375 MB / 0.9044 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.0009501/0.7911, allocations: 0.6 MB / 1.159 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.7911, allocations: 11.98 kB / 1.159 GB, free: 2.715 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005037/0.7916, allocations: 71.58 kB / 1.16 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.792, allocations: 281.6 kB / 1.16 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.792, allocations: 12.44 kB / 1.16 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.7921, allocations: 24 kB / 1.16 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006314/0.7927, allocations: 332.1 kB / 1.16 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.7927, allocations: 0 / 1.16 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.7927, allocations: 11.94 kB / 1.16 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.7928, allocations: 4 kB / 1.16 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006839/0.7934, allocations: 288.6 kB / 1.16 GB, free: 1.652 MB / 0.9044 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.001538/0.795, allocations: 1.252 MB / 1.162 GB, free: 296 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.7955, allocations: 206.5 kB / 1.162 GB, free: 80 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004131/0.7959, allocations: 145 kB / 1.162 GB, free: 15.92 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.7959, allocations: 34.56 kB / 1.162 GB, free: 15.88 MB / 0.92 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.7959, allocations: 0 / 1.162 GB, free: 15.88 MB / 0.92 GB Notification: Performance of matching and sorting (n=14): time 0.002271/0.7982, allocations: 0.6241 MB / 1.163 GB, free: 15.22 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.7983, allocations: 55.34 kB / 1.163 GB, free: 15.16 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.7986, allocations: 255 kB / 1.163 GB, free: 14.9 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.7986, allocations: 29.7 kB / 1.163 GB, free: 14.86 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.7987, allocations: 164.2 kB / 1.163 GB, free: 14.7 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.7988, allocations: 47.23 kB / 1.163 GB, free: 14.65 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.7988, allocations: 4 kB / 1.163 GB, free: 14.64 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.7989, allocations: 338.8 kB / 1.164 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.7992, allocations: 107.9 kB / 1.164 GB, free: 14.2 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.7996, allocations: 162.8 kB / 1.164 GB, free: 14.02 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.7999, allocations: 120.8 kB / 1.164 GB, free: 13.91 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7999, allocations: 0 / 1.164 GB, free: 13.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001201/0.8011, allocations: 385.2 kB / 1.164 GB, free: 13.52 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.8012, allocations: 7.984 kB / 1.164 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.8012, allocations: 8 kB / 1.164 GB, free: 13.51 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006013/0.8018, allocations: 88.88 kB / 1.164 GB, free: 13.42 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.802, allocations: 55.97 kB / 1.164 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.8044, allocations: 1.622 MB / 1.166 GB, free: 11.61 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.8047, allocations: 39.81 kB / 1.166 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.8047, allocations: 8 kB / 1.166 GB, free: 11.56 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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.000163/0.8049, allocations: 149.8 kB / 1.166 GB, free: 11.41 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.805, allocations: 31.66 kB / 1.166 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.8062, allocations: 390.4 kB / 1.167 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.8062, allocations: 4 kB / 1.167 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.8062, allocations: 3.938 kB / 1.167 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.8062, allocations: 7.922 kB / 1.167 GB, free: 10.97 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.8083, allocations: 0.9647 MB / 1.168 GB, free: 9.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.8083, allocations: 0 / 1.168 GB, free: 9.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.8085, allocations: 43.95 kB / 1.168 GB, free: 9.867 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005323/0.809, allocations: 92.92 kB / 1.168 GB, free: 9.773 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.809, allocations: 8 kB / 1.168 GB, free: 9.766 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.8109, allocations: 1.645 MB / 1.169 GB, free: 7.98 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8109, allocations: 0 / 1.169 GB, free: 7.98 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.8121, allocations: 0.5436 MB / 1.17 GB, free: 7.371 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.8123, allocations: 120.7 kB / 1.17 GB, free: 7.234 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.8123, allocations: 7.984 kB / 1.17 GB, free: 7.227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.8126, allocations: 39.88 kB / 1.17 GB, free: 7.188 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.8127, allocations: 27.81 kB / 1.17 GB, free: 7.16 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.8127, allocations: 11.98 kB / 1.17 GB, free: 7.148 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001656/0.8129, allocations: 186 kB / 1.17 GB, free: 6.969 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8129, allocations: 0 / 1.17 GB, free: 6.969 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004216/0.8133, allocations: 83.84 kB / 1.17 GB, free: 6.887 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.0003463/0.8137, allocations: 148 kB / 1.17 GB, free: 6.742 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009906/0.8147, allocations: 386.6 kB / 1.171 GB, free: 6.352 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.8147, allocations: 4 kB / 1.171 GB, free: 6.348 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005987/0.8153, allocations: 282.9 kB / 1.171 GB, free: 6.059 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006448/0.8159, allocations: 114.3 kB / 1.171 GB, free: 5.949 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.8179, allocations: 0.7529 MB / 1.172 GB, free: 5.16 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.8182, allocations: 0.7752 MB / 1.173 GB, free: 4.359 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002127/0.8184, allocations: 62.31 kB / 1.173 GB, free: 4.301 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.8185, allocations: 19.44 kB / 1.173 GB, free: 4.281 MB / 0.92 GB Notification: Performance of SimCode: time 3.91e-07/0.8185, allocations: 0 / 1.173 GB, free: 4.281 MB / 0.92 GB Notification: Performance of Templates: time 0.009316/0.8278, allocations: 5.247 MB / 1.178 GB, free: 15.1 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches