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.009022/0.009022, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.002307/0.002307, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.58/2.58, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.91 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.923/0.9243, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1815/1.106, allocations: 161.5 MB / 1.365 GB, free: 11.48 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005304/1.111, allocations: 3.486 MB / 1.369 GB, free: 7.984 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003191/1.112, allocations: 7.938 kB / 1.369 GB, free: 7.977 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0004783/1.112, allocations: 134.9 kB / 1.369 GB, free: 7.844 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00122/1.113, allocations: 453.9 kB / 1.369 GB, free: 7.398 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/1.115, allocations: 0.5953 MB / 1.37 GB, free: 6.805 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0006994/1.116, allocations: 0.6205 MB / 1.371 GB, free: 6.184 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003524/1.116, allocations: 232.6 kB / 1.371 GB, free: 5.957 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/1.117, allocations: 345.9 kB / 1.371 GB, free: 5.633 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/1.118, allocations: 195.2 kB / 1.371 GB, free: 5.441 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.78e-05/1.118, allocations: 24 kB / 1.371 GB, free: 5.418 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008813/1.118, allocations: 0.5495 MB / 1.372 GB, free: 4.867 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/1.119, allocations: 99.78 kB / 1.372 GB, free: 4.77 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/1.119, allocations: 143.3 kB / 1.372 GB, free: 4.629 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0007412/1.119, allocations: 0.5589 MB / 1.373 GB, free: 4.07 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.119, allocations: 0 / 1.373 GB, free: 4.07 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.013e-06/1.12, allocations: 0 / 1.373 GB, free: 4.07 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.823e-06/1.12, allocations: 0 / 1.373 GB, free: 4.07 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.001037/1.121, allocations: 0.6272 MB / 1.373 GB, free: 3.395 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/1.121, allocations: 12.03 kB / 1.373 GB, free: 3.383 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005218/1.121, allocations: 79.5 kB / 1.373 GB, free: 3.305 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/1.122, allocations: 313.2 kB / 1.374 GB, free: 2.957 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/1.122, allocations: 12.44 kB / 1.374 GB, free: 2.945 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/1.122, allocations: 20 kB / 1.374 GB, free: 2.926 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006164/1.122, allocations: 308.2 kB / 1.374 GB, free: 2.602 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/1.122, allocations: 4 kB / 1.374 GB, free: 2.598 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/1.122, allocations: 11.94 kB / 1.374 GB, free: 2.586 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/1.122, allocations: 7.938 kB / 1.374 GB, free: 2.578 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006454/1.123, allocations: 252.9 kB / 1.374 GB, free: 2.332 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.001482/1.124, allocations: 1.24 MB / 1.375 GB, free: 0.9766 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004231/1.125, allocations: 174.5 kB / 1.376 GB, free: 0.7969 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/1.125, allocations: 128.7 kB / 1.376 GB, free: 0.668 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005567/1.126, allocations: 303.2 kB / 1.376 GB, free: 324 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/1.126, allocations: 34.56 kB / 1.376 GB, free: 280 kB / 1.092 GB Notification: Performance of pre-optimization done (n=14): time 1.482e-06/1.126, allocations: 4 kB / 1.376 GB, free: 276 kB / 1.092 GB Notification: Performance of matching and sorting (n=14): time 0.002188/1.128, allocations: 0.5731 MB / 1.377 GB, free: 15.67 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/1.128, allocations: 55.34 kB / 1.377 GB, free: 15.6 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/1.128, allocations: 251 kB / 1.377 GB, free: 15.34 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/1.128, allocations: 37.69 kB / 1.377 GB, free: 15.3 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/1.128, allocations: 164.1 kB / 1.377 GB, free: 15.14 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/1.128, allocations: 47.36 kB / 1.377 GB, free: 15.09 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.639e-05/1.129, allocations: 37.7 kB / 1.377 GB, free: 15.05 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.129, allocations: 334.8 kB / 1.378 GB, free: 14.71 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/1.129, allocations: 91.92 kB / 1.378 GB, free: 14.62 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/1.129, allocations: 158.3 kB / 1.378 GB, free: 14.45 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005684/1.13, allocations: 235.6 kB / 1.378 GB, free: 14.21 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.13, allocations: 0 / 1.378 GB, free: 14.21 MB / 1.107 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001121/1.131, allocations: 349.8 kB / 1.378 GB, free: 13.86 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.131, allocations: 8 kB / 1.378 GB, free: 13.85 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/1.131, allocations: 128 / 1.378 GB, free: 13.85 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005923/1.132, allocations: 84.77 kB / 1.378 GB, free: 13.77 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/1.132, allocations: 47.95 kB / 1.378 GB, free: 13.72 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/1.134, allocations: 1.729 MB / 1.38 GB, free: 11.85 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/1.134, allocations: 31.81 kB / 1.38 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/1.134, allocations: 11.98 kB / 1.38 GB, free: 11.81 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.0001553/1.134, allocations: 141.8 kB / 1.38 GB, free: 11.66 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/1.135, allocations: 23.72 kB / 1.38 GB, free: 11.64 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/1.136, allocations: 375.8 kB / 1.381 GB, free: 11.26 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/1.136, allocations: 4 kB / 1.381 GB, free: 11.26 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/1.136, allocations: 0 / 1.381 GB, free: 11.26 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.136, allocations: 0 / 1.381 GB, free: 11.26 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/1.137, allocations: 0.7862 MB / 1.381 GB, free: 10.4 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.137, allocations: 4 kB / 1.382 GB, free: 10.4 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/1.138, allocations: 31.97 kB / 1.382 GB, free: 10.37 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004347/1.138, allocations: 84.86 kB / 1.382 GB, free: 10.28 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/1.138, allocations: 3.938 kB / 1.382 GB, free: 10.28 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/1.14, allocations: 1.739 MB / 1.383 GB, free: 8.387 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.14, allocations: 0 / 1.383 GB, free: 8.387 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/1.141, allocations: 450.4 kB / 1.384 GB, free: 7.918 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/1.141, allocations: 120.8 kB / 1.384 GB, free: 7.781 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/1.141, allocations: 15.94 kB / 1.384 GB, free: 7.766 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/1.142, allocations: 23.91 kB / 1.384 GB, free: 7.742 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.767e-05/1.142, allocations: 20.11 kB / 1.384 GB, free: 7.723 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/1.142, allocations: 11.98 kB / 1.384 GB, free: 7.711 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000169/1.142, allocations: 186 kB / 1.384 GB, free: 7.535 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.142, allocations: 0 / 1.384 GB, free: 7.535 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004186/1.142, allocations: 83.84 kB / 1.384 GB, free: 7.453 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.0004181/1.143, allocations: 158.9 kB / 1.384 GB, free: 7.293 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001004/1.144, allocations: 362.6 kB / 1.385 GB, free: 6.926 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.144, allocations: 0 / 1.385 GB, free: 6.926 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000592/1.144, allocations: 254.7 kB / 1.385 GB, free: 6.664 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/1.145, allocations: 122.9 kB / 1.385 GB, free: 6.547 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009201/1.146, allocations: 0.5075 MB / 1.386 GB, free: 6.008 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/1.146, allocations: 0.779 MB / 1.386 GB, free: 5.203 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001955/1.147, allocations: 54.25 kB / 1.386 GB, free: 5.152 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/1.147, allocations: 19.44 kB / 1.386 GB, free: 5.137 MB / 1.107 GB Notification: Performance of SimCode: time 2.41e-07/1.147, allocations: 4 kB / 1.386 GB, free: 5.133 MB / 1.107 GB Notification: Performance of Templates: time 0.01099/1.158, allocations: 5.981 MB / 1.392 GB, free: 15.23 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches