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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.735/2.735, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.00164/0.001641, allocations: 187.9 kB / 0.4902 GB, free: 2.203 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.802/1.802, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.00149/0.00149, allocations: 100.3 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004728, allocations: 11.03 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4594/0.4599, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.471/5.931, allocations: 1.87 GB / 3.1 GB, free: 112.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/5.931, allocations: 84.52 kB / 3.1 GB, free: 112.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.035/6.967, allocations: 199.9 MB / 3.295 GB, free: 380.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 5.109e-06/6.967, allocations: 4 kB / 3.295 GB, free: 380.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.286e-05/6.967, allocations: 8 kB / 3.295 GB, free: 380.9 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.001582/6.968, allocations: 0.6743 MB / 3.296 GB, free: 380.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/6.968, allocations: 11.97 kB / 3.296 GB, free: 380.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006106/6.969, allocations: 79.56 kB / 3.296 GB, free: 380.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/6.969, allocations: 292.9 kB / 3.296 GB, free: 379.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/6.97, allocations: 16.42 kB / 3.296 GB, free: 379.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/6.97, allocations: 24 kB / 3.296 GB, free: 379.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/6.97, allocations: 316.2 kB / 3.296 GB, free: 379.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/6.97, allocations: 0 / 3.296 GB, free: 379.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/6.97, allocations: 11.95 kB / 3.296 GB, free: 379.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/6.97, allocations: 12 kB / 3.296 GB, free: 379.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006815/6.971, allocations: 269.6 kB / 3.297 GB, free: 379.1 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.001485/6.972, allocations: 1.252 MB / 3.298 GB, free: 377.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/6.973, allocations: 186.5 kB / 3.298 GB, free: 377.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004544/6.973, allocations: 299.3 kB / 3.298 GB, free: 377.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/6.973, allocations: 42.48 kB / 3.298 GB, free: 377.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/6.973, allocations: 3.938 kB / 3.298 GB, free: 377.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=14): time 0.002125/6.975, allocations: 0.6158 MB / 3.299 GB, free: 376.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/6.976, allocations: 55.39 kB / 3.299 GB, free: 376.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/6.976, allocations: 225.8 kB / 3.299 GB, free: 376.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/6.976, allocations: 33.7 kB / 3.299 GB, free: 376.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.611e-05/6.976, allocations: 164.2 kB / 3.299 GB, free: 376 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/6.976, allocations: 47.3 kB / 3.299 GB, free: 375.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/6.976, allocations: 4 kB / 3.299 GB, free: 375.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.574e-05/6.976, allocations: 334.8 kB / 3.3 GB, free: 375.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/6.976, allocations: 111.9 kB / 3.3 GB, free: 375.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/6.977, allocations: 166.7 kB / 3.3 GB, free: 375.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/6.977, allocations: 123.9 kB / 3.3 GB, free: 375.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/6.977, allocations: 0 / 3.3 GB, free: 375.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001043/6.978, allocations: 374 kB / 3.3 GB, free: 374.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/6.978, allocations: 7.953 kB / 3.3 GB, free: 374.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/6.978, allocations: 4 kB / 3.301 GB, free: 374.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005921/6.978, allocations: 92.83 kB / 3.301 GB, free: 374.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/6.979, allocations: 47.95 kB / 3.301 GB, free: 374.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/6.981, allocations: 1.59 MB / 3.302 GB, free: 372.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/6.981, allocations: 47.88 kB / 3.302 GB, free: 372.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/6.981, allocations: 4 kB / 3.302 GB, free: 372.9 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.0001501/6.981, allocations: 149.8 kB / 3.302 GB, free: 372.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/6.981, allocations: 23.67 kB / 3.302 GB, free: 372.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/6.982, allocations: 399.9 kB / 3.303 GB, free: 372.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/6.982, allocations: 4 kB / 3.303 GB, free: 372.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/6.982, allocations: 0 / 3.303 GB, free: 372.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/6.982, allocations: 0 / 3.303 GB, free: 372.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/6.984, allocations: 0.794 MB / 3.304 GB, free: 371.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/6.984, allocations: 8.094 kB / 3.304 GB, free: 371.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/6.984, allocations: 55.89 kB / 3.304 GB, free: 371.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000487/6.984, allocations: 88.72 kB / 3.304 GB, free: 371.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/6.984, allocations: 4 kB / 3.304 GB, free: 371.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/6.986, allocations: 1.598 MB / 3.305 GB, free: 369.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/6.986, allocations: 4.031 kB / 3.305 GB, free: 369.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/6.987, allocations: 0.5083 MB / 3.306 GB, free: 369 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/6.987, allocations: 120.8 kB / 3.306 GB, free: 368.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/6.987, allocations: 0 / 3.306 GB, free: 368.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/6.987, allocations: 43.86 kB / 3.306 GB, free: 368.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/6.988, allocations: 23.91 kB / 3.306 GB, free: 368.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/6.988, allocations: 8 kB / 3.306 GB, free: 368.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001427/6.988, allocations: 182 kB / 3.306 GB, free: 368.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/6.988, allocations: 0 / 3.306 GB, free: 368.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008377/6.989, allocations: 163.8 kB / 3.306 GB, free: 368.4 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.001694/6.99, allocations: 0.9378 MB / 3.307 GB, free: 367.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0009651/6.991, allocations: 399.2 kB / 3.308 GB, free: 367.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/6.991, allocations: 0 / 3.308 GB, free: 367.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005178/6.992, allocations: 270.6 kB / 3.308 GB, free: 366.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006398/6.992, allocations: 119.6 kB / 3.308 GB, free: 366.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009305/6.993, allocations: 0.5962 MB / 3.309 GB, free: 366.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/6.994, allocations: 0.7796 MB / 3.309 GB, free: 365.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002276/6.994, allocations: 54.25 kB / 3.309 GB, free: 365.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/6.994, allocations: 19.44 kB / 3.309 GB, free: 365.2 MB / 1.167 GB Notification: Performance of SimCode: time 4.81e-07/6.994, allocations: 0 / 3.309 GB, free: 365.2 MB / 1.167 GB Notification: Performance of Templates: time 0.02138/7.015, allocations: 16.71 MB / 3.326 GB, free: 348.5 MB / 1.167 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