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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00855/0.00855, allocations: 103 kB / 15.88 MB, free: 6.328 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.001908/0.001908, allocations: 200.4 kB / 16.79 MB, free: 6.254 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.458/1.458, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.786/2.786, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 64.34 kB / 0.899 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3705, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1851/0.5557, allocations: 159.3 MB / 1.208 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006027/0.5618, allocations: 3.515 MB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005485/0.5623, allocations: 7.938 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006576/0.563, allocations: 107.3 kB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.5645, allocations: 426.2 kB / 1.212 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.5662, allocations: 0.5286 MB / 1.213 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009966/0.5672, allocations: 0.8193 MB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004308/0.5676, allocations: 192.7 kB / 1.214 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.5695, allocations: 316.6 kB / 1.214 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003987/0.5699, allocations: 199.2 kB / 1.214 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.121e-05/0.57, allocations: 12 kB / 1.214 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.5712, allocations: 0.6273 MB / 1.215 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.5714, allocations: 91.72 kB / 1.215 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.5716, allocations: 143.2 kB / 1.215 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006917/0.5723, allocations: 391.2 kB / 1.215 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5723, allocations: 0 / 1.215 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5723, allocations: 0 / 1.215 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.5723, allocations: 4 kB / 1.215 GB, free: 1.051 MB / 0.9669 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.001277/0.5736, allocations: 0.6311 MB / 1.216 GB, free: 380 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.5737, allocations: 12.03 kB / 1.216 GB, free: 368 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006011/0.5743, allocations: 75.52 kB / 1.216 GB, free: 292 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.5747, allocations: 289.3 kB / 1.216 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.5747, allocations: 20.38 kB / 1.216 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.5748, allocations: 20 kB / 1.216 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/0.5754, allocations: 312.2 kB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.5755, allocations: 0 / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.5755, allocations: 12 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.5755, allocations: 11.94 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006687/0.5762, allocations: 244.9 kB / 1.217 GB, free: 15.34 MB / 0.9825 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.001656/0.5779, allocations: 1.252 MB / 1.218 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004401/0.5783, allocations: 177.6 kB / 1.218 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.5786, allocations: 120.8 kB / 1.219 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005907/0.5792, allocations: 307.2 kB / 1.219 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.5793, allocations: 34.55 kB / 1.219 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.5793, allocations: 0 / 1.219 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.002275/0.5816, allocations: 0.5731 MB / 1.219 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.5816, allocations: 55.41 kB / 1.219 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.5819, allocations: 263 kB / 1.22 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.5819, allocations: 29.7 kB / 1.22 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.582, allocations: 164.1 kB / 1.22 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.5821, allocations: 55.2 kB / 1.22 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.943e-05/0.5822, allocations: 33.7 kB / 1.22 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5823, allocations: 334.8 kB / 1.22 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.5826, allocations: 99.91 kB / 1.22 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.5829, allocations: 138 kB / 1.221 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005725/0.5835, allocations: 236.1 kB / 1.221 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5835, allocations: 0 / 1.221 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001177/0.5847, allocations: 355.6 kB / 1.221 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.5847, allocations: 4 kB / 1.221 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.5848, allocations: 11.94 kB / 1.221 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006192/0.5854, allocations: 88.88 kB / 1.221 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.5856, allocations: 43.97 kB / 1.221 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.5878, allocations: 1.598 MB / 1.223 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.5881, allocations: 35.81 kB / 1.223 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.5882, allocations: 11.94 kB / 1.223 GB, free: 8.93 MB / 0.9825 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.0001708/0.5883, allocations: 145.9 kB / 1.223 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.321e-05/0.5884, allocations: 23.72 kB / 1.223 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.5896, allocations: 363.9 kB / 1.223 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5896, allocations: 0 / 1.223 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5896, allocations: 4 kB / 1.223 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5896, allocations: 0 / 1.223 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.5913, allocations: 0.7785 MB / 1.224 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.5913, allocations: 3.938 kB / 1.224 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.5915, allocations: 39.91 kB / 1.224 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005018/0.592, allocations: 96.84 kB / 1.224 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.592, allocations: 4 kB / 1.224 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.5939, allocations: 1.621 MB / 1.226 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.5939, allocations: 0 / 1.226 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.595, allocations: 460.4 kB / 1.226 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.5952, allocations: 128.6 kB / 1.226 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.5952, allocations: 4 kB / 1.226 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.5955, allocations: 23.97 kB / 1.226 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.5956, allocations: 27.84 kB / 1.226 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.5956, allocations: 12 kB / 1.226 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001817/0.5958, allocations: 186 kB / 1.227 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5958, allocations: 0 / 1.227 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004377/0.5962, allocations: 87.77 kB / 1.227 GB, free: 4.68 MB / 0.9825 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.0004494/0.5967, allocations: 148.2 kB / 1.227 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009644/0.5977, allocations: 358.4 kB / 1.227 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5977, allocations: 0 / 1.227 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000573/0.5983, allocations: 254.9 kB / 1.227 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000737/0.599, allocations: 117.9 kB / 1.228 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000997/0.6, allocations: 0.6386 MB / 1.228 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.6004, allocations: 0.7677 MB / 1.229 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.059e-05/0.6005, allocations: 23.44 kB / 1.229 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.6005, allocations: 4 kB / 1.229 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of Templates: time 0.009276/0.6098, allocations: 5.374 MB / 1.234 GB, free: 12.95 MB / 0.9981 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