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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001168/0.001168, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.521/2.521, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.89 kB / 0.8119 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7478/0.749, allocations: 140.3 MB / 0.9489 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1883/0.9373, allocations: 159.3 MB / 1.104 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006454/0.9439, allocations: 3.512 MB / 1.108 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009182/0.9448, allocations: 15.88 kB / 1.108 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008933/0.9457, allocations: 95.34 kB / 1.108 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.9478, allocations: 426.2 kB / 1.108 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.9499, allocations: 0.5363 MB / 1.109 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009716/0.9509, allocations: 0.8155 MB / 1.11 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000395/0.9513, allocations: 204.6 kB / 1.11 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.9529, allocations: 305.5 kB / 1.11 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.9532, allocations: 203.1 kB / 1.11 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.9533, allocations: 16 kB / 1.11 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.9544, allocations: 0.6312 MB / 1.111 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.9545, allocations: 87.7 kB / 1.111 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.9546, allocations: 131.3 kB / 1.111 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007931/0.9554, allocations: 0.5687 MB / 1.112 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9555, allocations: 0 / 1.112 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9555, allocations: 0 / 1.112 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.9555, allocations: 0 / 1.112 GB, free: 10.8 MB / 0.8731 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.001115/0.9566, allocations: 0.6388 MB / 1.112 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.9566, allocations: 8.031 kB / 1.112 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005453/0.9572, allocations: 75.52 kB / 1.112 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.9576, allocations: 289.4 kB / 1.113 GB, free: 9.707 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.9576, allocations: 16.44 kB / 1.113 GB, free: 9.691 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.9576, allocations: 20 kB / 1.113 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006322/0.9583, allocations: 316.1 kB / 1.113 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.9583, allocations: 0 / 1.113 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.9583, allocations: 8 kB / 1.113 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.9583, allocations: 7.938 kB / 1.113 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006751/0.959, allocations: 260.6 kB / 1.113 GB, free: 9.07 MB / 0.8731 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.001551/0.9606, allocations: 1.252 MB / 1.115 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.961, allocations: 182.5 kB / 1.115 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.9613, allocations: 124.7 kB / 1.115 GB, free: 7.395 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005949/0.9619, allocations: 299.2 kB / 1.115 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.962, allocations: 38.55 kB / 1.115 GB, free: 7 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.962, allocations: 4 kB / 1.115 GB, free: 6.996 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.002253/0.9642, allocations: 0.5741 MB / 1.116 GB, free: 6.395 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.9643, allocations: 55.34 kB / 1.116 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.9645, allocations: 259 kB / 1.116 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.9646, allocations: 29.7 kB / 1.116 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.9647, allocations: 164.2 kB / 1.116 GB, free: 5.871 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.9648, allocations: 47.34 kB / 1.116 GB, free: 5.824 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.996e-05/0.9648, allocations: 45.55 kB / 1.116 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.965, allocations: 334.8 kB / 1.117 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.9653, allocations: 95.91 kB / 1.117 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/0.9656, allocations: 136.2 kB / 1.117 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005766/0.9661, allocations: 238 kB / 1.117 GB, free: 4.949 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9662, allocations: 0 / 1.117 GB, free: 4.949 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001138/0.9673, allocations: 349.8 kB / 1.117 GB, free: 4.598 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.9673, allocations: 8 kB / 1.117 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.9673, allocations: 4.125 kB / 1.117 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006252/0.968, allocations: 88.75 kB / 1.118 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.9682, allocations: 43.91 kB / 1.118 GB, free: 4.453 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.9704, allocations: 1.605 MB / 1.119 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.9707, allocations: 35.72 kB / 1.119 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.9707, allocations: 11.94 kB / 1.119 GB, free: 2.664 MB / 0.8731 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.00016/0.9709, allocations: 145.8 kB / 1.119 GB, free: 2.512 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.225e-05/0.971, allocations: 23.72 kB / 1.119 GB, free: 2.488 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.9721, allocations: 373.3 kB / 1.12 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.9721, allocations: 4 kB / 1.12 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.9721, allocations: 0 / 1.12 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.9721, allocations: 0 / 1.12 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.9738, allocations: 0.7746 MB / 1.12 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.9738, allocations: 4 kB / 1.12 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.974, allocations: 31.97 kB / 1.12 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005028/0.9745, allocations: 88.84 kB / 1.121 GB, free: 1.141 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.9745, allocations: 8 kB / 1.121 GB, free: 1.133 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.9764, allocations: 1.629 MB / 1.122 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9764, allocations: 0 / 1.122 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.9775, allocations: 450.4 kB / 1.123 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.9776, allocations: 120.8 kB / 1.123 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.9777, allocations: 8 kB / 1.123 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.9779, allocations: 27.88 kB / 1.123 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.613e-05/0.978, allocations: 23.91 kB / 1.123 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.9781, allocations: 4 kB / 1.123 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001773/0.9782, allocations: 193.9 kB / 1.123 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9783, allocations: 0 / 1.123 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004633/0.9787, allocations: 91.86 kB / 1.123 GB, free: 14.42 MB / 0.8887 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.0004528/0.9792, allocations: 167.3 kB / 1.123 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.9802, allocations: 362.5 kB / 1.124 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.9802, allocations: 0 / 1.124 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005622/0.9808, allocations: 258.7 kB / 1.124 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007346/0.9815, allocations: 112.8 kB / 1.124 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.9826, allocations: 0.5792 MB / 1.124 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.983, allocations: 0.7752 MB / 1.125 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000248/0.9833, allocations: 54.25 kB / 1.125 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.18e-05/0.9833, allocations: 19.44 kB / 1.125 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of SimCode: time 3.11e-07/0.9833, allocations: 0 / 1.125 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of Templates: time 0.01157/0.9949, allocations: 5.544 MB / 1.131 GB, free: 6.566 MB / 0.8887 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches