Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001667/0.001667, allocations: 187.3 kB / 498.1 MB, free: 5.742 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.623/1.623, allocations: 223.2 MB / 0.7948 GB, free: 18.82 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.0009515/0.0009515, allocations: 108.1 kB / 0.9346 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.000394, allocations: 11.88 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3398, allocations: 142.4 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.663/5.003, allocations: 1.87 GB / 3.092 GB, free: 80.18 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/5.004, allocations: 86.7 kB / 3.093 GB, free: 80.14 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.273/6.277, allocations: 199.9 MB / 3.288 GB, free: 364.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.585e-06/6.277, allocations: 0 / 3.288 GB, free: 364.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.565e-05/6.277, allocations: 15.94 kB / 3.288 GB, free: 364.8 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001643/6.279, allocations: 0.6749 MB / 3.288 GB, free: 364 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/6.279, allocations: 8.031 kB / 3.288 GB, free: 364 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006121/6.279, allocations: 75.56 kB / 3.289 GB, free: 364 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/6.28, allocations: 300.5 kB / 3.289 GB, free: 363.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/6.28, allocations: 16.44 kB / 3.289 GB, free: 363.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/6.28, allocations: 24 kB / 3.289 GB, free: 363.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006265/6.28, allocations: 316.2 kB / 3.289 GB, free: 363.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/6.281, allocations: 3.953 kB / 3.289 GB, free: 363.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/6.281, allocations: 8 kB / 3.289 GB, free: 363.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/6.281, allocations: 8 kB / 3.289 GB, free: 363.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006061/6.281, allocations: 272.9 kB / 3.289 GB, free: 363 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.001512/6.283, allocations: 1.244 MB / 3.291 GB, free: 361.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/6.283, allocations: 190.5 kB / 3.291 GB, free: 361.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004814/6.284, allocations: 311.2 kB / 3.291 GB, free: 361.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/6.284, allocations: 34.5 kB / 3.291 GB, free: 361 MB / 1.167 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/6.284, allocations: 0 / 3.291 GB, free: 361 MB / 1.167 GB Notification: Performance of matching and sorting (n=14): time 0.002137/6.286, allocations: 0.6163 MB / 3.292 GB, free: 360.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/6.286, allocations: 51.41 kB / 3.292 GB, free: 360.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/6.286, allocations: 221.9 kB / 3.292 GB, free: 360.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/6.286, allocations: 33.7 kB / 3.292 GB, free: 360.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 9.76e-05/6.286, allocations: 164.1 kB / 3.292 GB, free: 359.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/6.286, allocations: 47.36 kB / 3.292 GB, free: 359.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/6.286, allocations: 4 kB / 3.292 GB, free: 359.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.169e-05/6.286, allocations: 330.8 kB / 3.293 GB, free: 359.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/6.287, allocations: 115.8 kB / 3.293 GB, free: 359.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/6.287, allocations: 171.3 kB / 3.293 GB, free: 359.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/6.287, allocations: 128.4 kB / 3.293 GB, free: 359.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/6.287, allocations: 4 kB / 3.293 GB, free: 359.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001079/6.288, allocations: 381.8 kB / 3.293 GB, free: 358.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/6.288, allocations: 5.406 kB / 3.293 GB, free: 358.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/6.288, allocations: 8.125 kB / 3.293 GB, free: 358.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006452/6.289, allocations: 80.77 kB / 3.293 GB, free: 358.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/6.289, allocations: 59.89 kB / 3.294 GB, free: 358.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/6.291, allocations: 1.585 MB / 3.295 GB, free: 356.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/6.291, allocations: 47.72 kB / 3.295 GB, free: 356.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/6.292, allocations: 8.062 kB / 3.295 GB, free: 356.8 MB / 1.167 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.0001931/6.292, allocations: 151.3 kB / 3.295 GB, free: 356.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/6.292, allocations: 31.66 kB / 3.295 GB, free: 356.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/6.293, allocations: 385.4 kB / 3.296 GB, free: 356.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/6.293, allocations: 7.938 kB / 3.296 GB, free: 356.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/6.293, allocations: 0 / 3.296 GB, free: 356.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/6.293, allocations: 4 kB / 3.296 GB, free: 356.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/6.295, allocations: 0.7903 MB / 3.296 GB, free: 355.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/6.295, allocations: 0 / 3.296 GB, free: 355.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/6.295, allocations: 52.02 kB / 3.296 GB, free: 355.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004923/6.295, allocations: 88.77 kB / 3.297 GB, free: 355.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/6.295, allocations: 4 kB / 3.297 GB, free: 355.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/6.297, allocations: 1.613 MB / 3.298 GB, free: 353.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/6.297, allocations: 4.031 kB / 3.298 GB, free: 353.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/6.298, allocations: 0.5035 MB / 3.299 GB, free: 352.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/6.298, allocations: 120.8 kB / 3.299 GB, free: 352.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/6.298, allocations: 11.95 kB / 3.299 GB, free: 352.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/6.299, allocations: 35.95 kB / 3.299 GB, free: 352.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-05/6.299, allocations: 11.98 kB / 3.299 GB, free: 352.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/6.299, allocations: 12 kB / 3.299 GB, free: 352.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00017/6.299, allocations: 186 kB / 3.299 GB, free: 352.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.51e-07/6.299, allocations: 0 / 3.299 GB, free: 352.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008418/6.3, allocations: 155.8 kB / 3.299 GB, free: 352.3 MB / 1.167 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.001746/6.302, allocations: 0.9507 MB / 3.3 GB, free: 351.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001018/6.303, allocations: 396.3 kB / 3.3 GB, free: 351 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/6.303, allocations: 0 / 3.3 GB, free: 351 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005437/6.303, allocations: 270.7 kB / 3.301 GB, free: 350.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006599/6.304, allocations: 112.4 kB / 3.301 GB, free: 350.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/6.305, allocations: 0.5905 MB / 3.301 GB, free: 350 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/6.305, allocations: 0.7757 MB / 3.302 GB, free: 349.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002539/6.305, allocations: 54.25 kB / 3.302 GB, free: 349.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.077e-05/6.305, allocations: 19.44 kB / 3.302 GB, free: 349.1 MB / 1.167 GB Notification: Performance of SimCode: time 4.61e-07/6.305, allocations: 0 / 3.302 GB, free: 349.1 MB / 1.167 GB Notification: Performance of Templates: time 0.02276/6.328, allocations: 16.73 MB / 3.319 GB, free: 332.4 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches