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.00161/0.00161, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002104/0.002104, allocations: 197 kB / 16.14 MB, free: 6.711 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.57/1.57, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.973/2.973, allocations: 472.7 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 63.44 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3881, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1882/0.5763, allocations: 159.3 MB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005103/0.5815, allocations: 3.509 MB / 1.227 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003389/0.5819, allocations: 15.94 kB / 1.227 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005127/0.5824, allocations: 107.3 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.5837, allocations: 422.2 kB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.5852, allocations: 0.533 MB / 1.228 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008315/0.586, allocations: 0.8194 MB / 1.228 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003178/0.5863, allocations: 196.7 kB / 1.229 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.5879, allocations: 308.5 kB / 1.229 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.5882, allocations: 199.2 kB / 1.229 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.209e-05/0.5882, allocations: 16 kB / 1.229 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.5893, allocations: 0.6235 MB / 1.23 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.5894, allocations: 95.64 kB / 1.23 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.5896, allocations: 135.3 kB / 1.23 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007936/0.5904, allocations: 0.5764 MB / 1.23 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5904, allocations: 0 / 1.23 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5904, allocations: 3.938 kB / 1.23 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.5904, allocations: 0 / 1.23 GB, free: 3.48 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.001155/0.5916, allocations: 0.6349 MB / 1.231 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.5916, allocations: 8.031 kB / 1.231 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005798/0.5922, allocations: 79.5 kB / 1.231 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.5926, allocations: 293.3 kB / 1.231 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.5926, allocations: 16.44 kB / 1.231 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.5927, allocations: 20 kB / 1.231 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006627/0.5934, allocations: 304.2 kB / 1.232 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5934, allocations: 0 / 1.232 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.5934, allocations: 16 kB / 1.232 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.5934, allocations: 7.938 kB / 1.232 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006623/0.5941, allocations: 248.8 kB / 1.232 GB, free: 1.762 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.001637/0.5957, allocations: 1.252 MB / 1.233 GB, free: 404 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.5962, allocations: 174.5 kB / 1.233 GB, free: 220 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.5965, allocations: 128.4 kB / 1.234 GB, free: 92 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006416/0.5972, allocations: 299.2 kB / 1.234 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.5972, allocations: 38.55 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.5972, allocations: 0 / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.002439/0.5997, allocations: 0.5731 MB / 1.234 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.5997, allocations: 55.41 kB / 1.234 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.6, allocations: 259 kB / 1.235 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.6001, allocations: 29.7 kB / 1.235 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.6002, allocations: 168.1 kB / 1.235 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.6002, allocations: 47.3 kB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/0.6003, allocations: 37.7 kB / 1.235 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6005, allocations: 334.8 kB / 1.235 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.6008, allocations: 95.91 kB / 1.235 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.6011, allocations: 144.1 kB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005959/0.6017, allocations: 232.1 kB / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.6017, allocations: 0 / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001169/0.6029, allocations: 361.8 kB / 1.236 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.6029, allocations: 4 kB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.6029, allocations: 0 / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006431/0.6036, allocations: 92.88 kB / 1.236 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.6038, allocations: 35.97 kB / 1.236 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/0.6061, allocations: 1.617 MB / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.6064, allocations: 31.81 kB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.6064, allocations: 11.94 kB / 1.238 GB, free: 11.35 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.0001751/0.6066, allocations: 147.6 kB / 1.238 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.199e-05/0.6067, allocations: 23.72 kB / 1.238 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.6079, allocations: 367.8 kB / 1.238 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.6079, allocations: 4 kB / 1.238 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.6079, allocations: 0 / 1.238 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.6079, allocations: 0 / 1.238 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.6096, allocations: 0.7862 MB / 1.239 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6097, allocations: 0 / 1.239 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.6099, allocations: 35.91 kB / 1.239 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005426/0.6104, allocations: 93.03 kB / 1.239 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.6104, allocations: 0 / 1.239 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/0.6125, allocations: 1.633 MB / 1.241 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.6125, allocations: 0 / 1.241 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.6137, allocations: 456.5 kB / 1.241 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.6139, allocations: 124.7 kB / 1.241 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.6139, allocations: 7.938 kB / 1.241 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.6142, allocations: 23.97 kB / 1.241 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.6143, allocations: 23.97 kB / 1.241 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.6144, allocations: 4 kB / 1.241 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002049/0.6146, allocations: 186 kB / 1.242 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6146, allocations: 0 / 1.242 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005059/0.6151, allocations: 91.77 kB / 1.242 GB, free: 7.105 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.0005099/0.6156, allocations: 156.5 kB / 1.242 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.6167, allocations: 365.2 kB / 1.242 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6167, allocations: 3.938 kB / 1.242 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006143/0.6173, allocations: 258.9 kB / 1.242 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007808/0.6181, allocations: 110.3 kB / 1.243 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.6192, allocations: 0.5941 MB / 1.243 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.6195, allocations: 0.7677 MB / 1.244 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002466/0.6198, allocations: 66.28 kB / 1.244 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/0.6198, allocations: 19.44 kB / 1.244 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of SimCode: time 7.82e-07/0.6198, allocations: 0 / 1.244 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of Templates: time 0.544/1.164, allocations: 5.506 MB / 1.249 GB, free: 185.2 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