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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001502/0.001502, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001711/0.001712, allocations: 188.9 kB / 17.34 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.685/2.685, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 71.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.902/0.9034, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1864/1.09, allocations: 161.5 MB / 1.366 GB, free: 11.54 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005418/1.095, allocations: 3.49 MB / 1.37 GB, free: 8.047 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000574/1.096, allocations: 11.94 kB / 1.37 GB, free: 8.035 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006703/1.097, allocations: 131 kB / 1.37 GB, free: 7.906 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001623/1.098, allocations: 449.9 kB / 1.37 GB, free: 7.465 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001887/1.1, allocations: 0.5953 MB / 1.371 GB, free: 6.871 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0009897/1.101, allocations: 0.6283 MB / 1.371 GB, free: 6.242 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004889/1.102, allocations: 228.6 kB / 1.372 GB, free: 6.02 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/1.103, allocations: 341.6 kB / 1.372 GB, free: 5.695 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/1.104, allocations: 199.1 kB / 1.372 GB, free: 5.5 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 6.604e-05/1.104, allocations: 23.98 kB / 1.372 GB, free: 5.477 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/1.105, allocations: 0.5456 MB / 1.373 GB, free: 4.93 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/1.105, allocations: 99.77 kB / 1.373 GB, free: 4.832 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001948/1.105, allocations: 143.3 kB / 1.373 GB, free: 4.691 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/1.106, allocations: 0.555 MB / 1.373 GB, free: 4.137 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.106, allocations: 0 / 1.373 GB, free: 4.137 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.863e-06/1.106, allocations: 4 kB / 1.373 GB, free: 4.133 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.26e-05/1.106, allocations: 0 / 1.373 GB, free: 4.133 MB / 1.092 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.00123/1.108, allocations: 0.6311 MB / 1.374 GB, free: 3.453 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.108, allocations: 12.03 kB / 1.374 GB, free: 3.441 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005815/1.108, allocations: 79.5 kB / 1.374 GB, free: 3.363 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/1.109, allocations: 317.2 kB / 1.374 GB, free: 3.012 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/1.109, allocations: 12.44 kB / 1.374 GB, free: 3 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/1.109, allocations: 20 kB / 1.374 GB, free: 2.98 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006722/1.11, allocations: 312.2 kB / 1.375 GB, free: 2.652 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.11, allocations: 0 / 1.375 GB, free: 2.652 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/1.11, allocations: 8 kB / 1.375 GB, free: 2.645 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/1.11, allocations: 11.94 kB / 1.375 GB, free: 2.633 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006784/1.11, allocations: 248.8 kB / 1.375 GB, free: 2.391 MB / 1.092 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.001684/1.112, allocations: 1.252 MB / 1.376 GB, free: 1.023 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/1.112, allocations: 166.5 kB / 1.376 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/1.113, allocations: 128.8 kB / 1.376 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005832/1.113, allocations: 295.2 kB / 1.377 GB, free: 388 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/1.113, allocations: 42.56 kB / 1.377 GB, free: 336 kB / 1.092 GB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/1.113, allocations: 0 / 1.377 GB, free: 336 kB / 1.092 GB Notification: Performance of matching and sorting (n=14): time 0.002287/1.116, allocations: 0.5653 MB / 1.377 GB, free: 15.73 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/1.116, allocations: 55.41 kB / 1.377 GB, free: 15.67 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/1.116, allocations: 259 kB / 1.378 GB, free: 15.4 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/1.116, allocations: 33.7 kB / 1.378 GB, free: 15.36 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/1.116, allocations: 164.1 kB / 1.378 GB, free: 15.2 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/1.116, allocations: 51.34 kB / 1.378 GB, free: 15.15 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.886e-05/1.116, allocations: 33.72 kB / 1.378 GB, free: 15.11 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.117, allocations: 334.8 kB / 1.378 GB, free: 14.77 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/1.117, allocations: 95.84 kB / 1.378 GB, free: 14.68 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003215/1.117, allocations: 144.1 kB / 1.378 GB, free: 14.52 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005925/1.118, allocations: 236.1 kB / 1.379 GB, free: 14.28 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.118, allocations: 0 / 1.379 GB, free: 14.28 MB / 1.107 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001189/1.119, allocations: 357.5 kB / 1.379 GB, free: 13.92 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.119, allocations: 15.92 kB / 1.379 GB, free: 13.91 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.119, allocations: 0 / 1.379 GB, free: 13.91 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006279/1.12, allocations: 88.77 kB / 1.379 GB, free: 13.82 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/1.12, allocations: 35.97 kB / 1.379 GB, free: 13.78 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/1.122, allocations: 1.729 MB / 1.381 GB, free: 11.91 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/1.122, allocations: 39.81 kB / 1.381 GB, free: 11.88 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/1.122, allocations: 7.984 kB / 1.381 GB, free: 11.87 MB / 1.107 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001897/1.123, allocations: 145.9 kB / 1.381 GB, free: 11.71 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.016e-05/1.123, allocations: 27.7 kB / 1.381 GB, free: 11.69 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/1.124, allocations: 363.8 kB / 1.381 GB, free: 11.32 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/1.124, allocations: 4 kB / 1.381 GB, free: 11.32 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/1.124, allocations: 0 / 1.381 GB, free: 11.32 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.124, allocations: 3.984 kB / 1.381 GB, free: 11.32 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/1.126, allocations: 0.7823 MB / 1.382 GB, free: 10.46 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.126, allocations: 0 / 1.382 GB, free: 10.46 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/1.126, allocations: 39.89 kB / 1.382 GB, free: 10.43 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000448/1.126, allocations: 76.88 kB / 1.382 GB, free: 10.35 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/1.126, allocations: 11.94 kB / 1.382 GB, free: 10.34 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/1.129, allocations: 1.735 MB / 1.384 GB, free: 8.449 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.129, allocations: 7.938 kB / 1.384 GB, free: 8.441 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/1.13, allocations: 458.3 kB / 1.384 GB, free: 7.965 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/1.13, allocations: 120.8 kB / 1.385 GB, free: 7.828 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/1.13, allocations: 4 kB / 1.385 GB, free: 7.824 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/1.13, allocations: 23.91 kB / 1.385 GB, free: 7.801 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/1.13, allocations: 15.98 kB / 1.385 GB, free: 7.785 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/1.13, allocations: 8 kB / 1.385 GB, free: 7.777 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001796/1.13, allocations: 186 kB / 1.385 GB, free: 7.602 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.51e-07/1.13, allocations: 4 kB / 1.385 GB, free: 7.598 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004469/1.131, allocations: 87.83 kB / 1.385 GB, free: 7.512 MB / 1.107 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004394/1.131, allocations: 157.2 kB / 1.385 GB, free: 7.355 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00105/1.132, allocations: 369 kB / 1.385 GB, free: 6.984 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.132, allocations: 4 kB / 1.385 GB, free: 6.98 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0005999/1.133, allocations: 258.6 kB / 1.386 GB, free: 6.715 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007463/1.134, allocations: 122.6 kB / 1.386 GB, free: 6.598 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009319/1.135, allocations: 0.5269 MB / 1.386 GB, free: 6.031 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/1.135, allocations: 0.779 MB / 1.387 GB, free: 5.227 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/1.135, allocations: 23.44 kB / 1.387 GB, free: 5.207 MB / 1.107 GB Notification: Performance of SimCode: time 2.11e-07/1.135, allocations: 0 / 1.387 GB, free: 5.207 MB / 1.107 GB Notification: Performance of Templates: time 0.008417/1.144, allocations: 5.395 MB / 1.392 GB, free: 15.84 MB / 1.123 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches