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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001555/0.001555, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.466/1.466, allocations: 222.9 MB / 240.2 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.992/2.992, allocations: 472.7 MB / 0.7452 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 69.83 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3495, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1842/0.5337, allocations: 161.5 MB / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005684/0.5394, allocations: 3.478 MB / 1.229 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005529/0.54, allocations: 11.94 kB / 1.229 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.5407, allocations: 139 kB / 1.229 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.5423, allocations: 453.9 kB / 1.23 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.5441, allocations: 0.5953 MB / 1.231 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008945/0.545, allocations: 0.6244 MB / 1.231 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004756/0.5455, allocations: 236.6 kB / 1.231 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.547, allocations: 332.3 kB / 1.232 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003931/0.5474, allocations: 199.1 kB / 1.232 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.549e-05/0.5475, allocations: 20 kB / 1.232 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.5486, allocations: 0.5417 MB / 1.232 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.5487, allocations: 103.7 kB / 1.232 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.549, allocations: 151.2 kB / 1.233 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.5501, allocations: 0.5415 MB / 1.233 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.5501, allocations: 0 / 1.233 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5501, allocations: 0 / 1.233 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.5501, allocations: 0 / 1.233 GB, free: 0.8242 MB / 0.9825 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.001276/0.5514, allocations: 0.635 MB / 1.234 GB, free: 144 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.5515, allocations: 8.031 kB / 1.234 GB, free: 136 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005926/0.5521, allocations: 75.52 kB / 1.234 GB, free: 60 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004783/0.5526, allocations: 293.3 kB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.5526, allocations: 16.38 kB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.5526, allocations: 20 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006845/0.5533, allocations: 316.1 kB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.5534, allocations: 4 kB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.5534, allocations: 4 kB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.5534, allocations: 11.94 kB / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006912/0.5541, allocations: 252.8 kB / 1.235 GB, free: 15.1 MB / 0.9981 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.001841/0.556, allocations: 1.248 MB / 1.236 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.5564, allocations: 174.5 kB / 1.236 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.5568, allocations: 124.8 kB / 1.236 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005625/0.5573, allocations: 299.2 kB / 1.237 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.5574, allocations: 38.55 kB / 1.237 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.5574, allocations: 4 kB / 1.237 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.002248/0.5596, allocations: 0.5692 MB / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.5597, allocations: 55.41 kB / 1.237 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.56, allocations: 255 kB / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.56, allocations: 33.7 kB / 1.237 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.5601, allocations: 168.1 kB / 1.238 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.68e-05/0.5602, allocations: 51.23 kB / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.905e-05/0.5603, allocations: 37.7 kB / 1.238 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.5605, allocations: 330.8 kB / 1.238 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.5608, allocations: 95.91 kB / 1.238 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.5611, allocations: 144.1 kB / 1.238 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005917/0.5617, allocations: 235.6 kB / 1.238 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5617, allocations: 0 / 1.238 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001155/0.5629, allocations: 353.8 kB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.5629, allocations: 10 kB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5629, allocations: 4 kB / 1.239 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/0.5635, allocations: 88.75 kB / 1.239 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.5638, allocations: 39.97 kB / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.566, allocations: 1.728 MB / 1.241 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.5662, allocations: 31.81 kB / 1.241 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/0.5663, allocations: 12.06 kB / 1.241 GB, free: 8.574 MB / 0.9981 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.0001774/0.5665, allocations: 155.4 kB / 1.241 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.5665, allocations: 23.72 kB / 1.241 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.5677, allocations: 363.9 kB / 1.241 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.5677, allocations: 0 / 1.241 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5678, allocations: 4 kB / 1.241 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5678, allocations: 4 kB / 1.241 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.5695, allocations: 0.7707 MB / 1.242 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.5695, allocations: 0 / 1.242 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.5697, allocations: 39.91 kB / 1.242 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004375/0.5701, allocations: 84.86 kB / 1.242 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.5701, allocations: 3.938 kB / 1.242 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.5721, allocations: 1.743 MB / 1.244 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.5721, allocations: 3.938 kB / 1.244 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.5732, allocations: 461 kB / 1.244 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.5734, allocations: 128.7 kB / 1.244 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.5734, allocations: 8 kB / 1.244 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.5737, allocations: 27.91 kB / 1.244 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/0.5738, allocations: 19.97 kB / 1.244 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.5738, allocations: 8 kB / 1.244 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001767/0.574, allocations: 189.9 kB / 1.245 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.574, allocations: 0 / 1.245 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004406/0.5745, allocations: 79.91 kB / 1.245 GB, free: 4.207 MB / 0.9981 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.0004315/0.5749, allocations: 164 kB / 1.245 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.5759, allocations: 366.6 kB / 1.245 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.576, allocations: 4 kB / 1.245 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005811/0.5765, allocations: 254.4 kB / 1.245 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007263/0.5773, allocations: 125.7 kB / 1.246 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009445/0.5782, allocations: 0.5093 MB / 1.246 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.5786, allocations: 0.7752 MB / 1.247 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002398/0.5788, allocations: 50.27 kB / 1.247 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.5789, allocations: 31.42 kB / 1.247 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.5789, allocations: 0 / 1.247 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of Templates: time 0.5788/1.158, allocations: 5.93 MB / 1.253 GB, free: 184.6 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/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