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.424/2.424, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001273/0.001273, allocations: 169 kB / 492.3 MB, free: 0.6289 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.457/1.457, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0009876/0.0009875, allocations: 93.78 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.768e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.291, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.04/6.332, allocations: 1.87 GB / 3.082 GB, free: 359.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/6.332, allocations: 84.2 kB / 3.082 GB, free: 359.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.3863/6.718, allocations: 199.7 MB / 3.277 GB, free: 220.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.072e-06/6.718, allocations: 0 / 3.277 GB, free: 220.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.527e-05/6.718, allocations: 4 kB / 3.277 GB, free: 220.5 MB / 1.151 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.001216/6.72, allocations: 0.6405 MB / 3.278 GB, free: 219.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/6.72, allocations: 8.031 kB / 3.278 GB, free: 219.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005131/6.72, allocations: 71.56 kB / 3.278 GB, free: 219.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/6.721, allocations: 301.9 kB / 3.278 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/6.721, allocations: 24.38 kB / 3.278 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/6.721, allocations: 16 kB / 3.278 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/6.721, allocations: 264.3 kB / 3.278 GB, free: 219.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/6.721, allocations: 0 / 3.278 GB, free: 219.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/6.721, allocations: 12 kB / 3.278 GB, free: 219.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/6.721, allocations: 8 kB / 3.278 GB, free: 219.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/6.722, allocations: 161 kB / 3.279 GB, free: 218.9 MB / 1.151 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.001377/6.723, allocations: 1.26 MB / 3.28 GB, free: 217.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/6.723, allocations: 134.6 kB / 3.28 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/6.723, allocations: 80.84 kB / 3.28 GB, free: 217.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004495/6.724, allocations: 307.2 kB / 3.28 GB, free: 217 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/6.724, allocations: 30.56 kB / 3.28 GB, free: 216.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/6.724, allocations: 8 kB / 3.28 GB, free: 216.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=14): time 0.0009412/6.725, allocations: 262.1 kB / 3.281 GB, free: 216.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/6.725, allocations: 63.34 kB / 3.281 GB, free: 216.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/6.725, allocations: 219.2 kB / 3.281 GB, free: 216.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/6.725, allocations: 29.7 kB / 3.281 GB, free: 216.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.714e-05/6.725, allocations: 160.2 kB / 3.281 GB, free: 216.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/6.725, allocations: 55.2 kB / 3.281 GB, free: 216.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/6.725, allocations: 0 / 3.281 GB, free: 216.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/6.725, allocations: 338.8 kB / 3.281 GB, free: 215.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.582e-05/6.725, allocations: 59.97 kB / 3.281 GB, free: 215.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/6.725, allocations: 119.9 kB / 3.282 GB, free: 215.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/6.726, allocations: 68.2 kB / 3.282 GB, free: 215.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/6.726, allocations: 0 / 3.282 GB, free: 215.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007438/6.726, allocations: 278 kB / 3.282 GB, free: 215.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/6.726, allocations: 9.25 kB / 3.282 GB, free: 215.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/6.726, allocations: 8.062 kB / 3.282 GB, free: 215.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005522/6.727, allocations: 84.77 kB / 3.282 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/6.727, allocations: 51.91 kB / 3.282 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/6.729, allocations: 1.583 MB / 3.284 GB, free: 213.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/6.729, allocations: 39.81 kB / 3.284 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/6.729, allocations: 16.06 kB / 3.284 GB, free: 213.3 MB / 1.151 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.652e-05/6.729, allocations: 112.9 kB / 3.284 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/6.729, allocations: 19.72 kB / 3.284 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007203/6.73, allocations: 296.1 kB / 3.284 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/6.73, allocations: 0 / 3.284 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.02e-07/6.73, allocations: 0 / 3.284 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/6.73, allocations: 0 / 3.284 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/6.731, allocations: 0.6966 MB / 3.285 GB, free: 212.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/6.731, allocations: 4 kB / 3.285 GB, free: 212.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/6.731, allocations: 44.06 kB / 3.285 GB, free: 212.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004286/6.732, allocations: 88.75 kB / 3.285 GB, free: 212 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/6.732, allocations: 8 kB / 3.285 GB, free: 212 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/6.733, allocations: 1.598 MB / 3.286 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/6.733, allocations: 4.016 kB / 3.286 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006644/6.734, allocations: 412.7 kB / 3.287 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/6.734, allocations: 120.7 kB / 3.287 GB, free: 209.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/6.734, allocations: 4 kB / 3.287 GB, free: 209.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/6.734, allocations: 39.88 kB / 3.287 GB, free: 209.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/6.735, allocations: 19.94 kB / 3.287 GB, free: 209.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/6.735, allocations: 7.984 kB / 3.287 GB, free: 209.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001315/6.735, allocations: 179.1 kB / 3.287 GB, free: 209.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/6.735, allocations: 0 / 3.287 GB, free: 209.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007567/6.735, allocations: 155.9 kB / 3.287 GB, free: 209.2 MB / 1.151 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.001261/6.737, allocations: 0.9442 MB / 3.288 GB, free: 208.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005775/6.737, allocations: 292.8 kB / 3.289 GB, free: 208 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/6.737, allocations: 4 kB / 3.289 GB, free: 208 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/6.738, allocations: 222.9 kB / 3.289 GB, free: 207.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006403/6.738, allocations: 112.4 kB / 3.289 GB, free: 207.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/6.739, allocations: 351 kB / 3.289 GB, free: 207.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/6.739, allocations: 0.7757 MB / 3.29 GB, free: 206.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00019/6.739, allocations: 50.05 kB / 3.29 GB, free: 206.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/6.739, allocations: 23.42 kB / 3.29 GB, free: 206.4 MB / 1.151 GB Notification: Performance of SimCode: time 8.41e-07/6.739, allocations: 0 / 3.29 GB, free: 206.4 MB / 1.151 GB Notification: Performance of Templates: time 0.02284/6.762, allocations: 19.32 MB / 3.309 GB, free: 187.1 MB / 1.151 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