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.007561/0.007561, allocations: 101.8 kB / 15.73 MB, free: 6.445 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.00216/0.00216, allocations: 194 kB / 16.67 MB, free: 6.352 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.406/2.406, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63 kB / 0.9509 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3115, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1745/0.486, allocations: 161.5 MB / 1.246 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004489/0.4905, allocations: 3.5 MB / 1.249 GB, free: 11.86 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002552/0.4908, allocations: 11.88 kB / 1.249 GB, free: 11.84 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004044/0.4912, allocations: 131 kB / 1.249 GB, free: 11.71 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.4923, allocations: 473.9 kB / 1.25 GB, free: 11.25 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.4938, allocations: 0.6088 MB / 1.25 GB, free: 10.64 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006524/0.4945, allocations: 0.6362 MB / 1.251 GB, free: 10.01 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.4948, allocations: 220.7 kB / 1.251 GB, free: 9.793 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.496, allocations: 343.2 kB / 1.251 GB, free: 9.469 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.4963, allocations: 203.1 kB / 1.252 GB, free: 9.27 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.988e-05/0.4963, allocations: 20 kB / 1.252 GB, free: 9.25 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009617/0.4973, allocations: 0.5534 MB / 1.252 GB, free: 8.695 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.4974, allocations: 95.72 kB / 1.252 GB, free: 8.602 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.4976, allocations: 151.3 kB / 1.252 GB, free: 8.453 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007986/0.4984, allocations: 0.5528 MB / 1.253 GB, free: 7.898 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4984, allocations: 0 / 1.253 GB, free: 7.898 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4984, allocations: 0 / 1.253 GB, free: 7.898 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.4984, allocations: 0 / 1.253 GB, free: 7.898 MB / 1.014 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.001036/0.4995, allocations: 0.6422 MB / 1.254 GB, free: 7.207 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.4995, allocations: 8.031 kB / 1.254 GB, free: 7.199 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005056/0.5, allocations: 79.69 kB / 1.254 GB, free: 7.121 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.5004, allocations: 309.5 kB / 1.254 GB, free: 6.781 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.5004, allocations: 20.44 kB / 1.254 GB, free: 6.762 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.5005, allocations: 16 kB / 1.254 GB, free: 6.746 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006407/0.5011, allocations: 312.2 kB / 1.254 GB, free: 6.418 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.5012, allocations: 0 / 1.254 GB, free: 6.418 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.5012, allocations: 19.92 kB / 1.254 GB, free: 6.398 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.5012, allocations: 7.938 kB / 1.254 GB, free: 6.391 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006718/0.5019, allocations: 248.6 kB / 1.255 GB, free: 6.148 MB / 1.014 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.001565/0.5035, allocations: 1.252 MB / 1.256 GB, free: 4.785 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.5039, allocations: 178.5 kB / 1.256 GB, free: 4.602 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.5042, allocations: 120.8 kB / 1.256 GB, free: 4.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005585/0.5048, allocations: 307.2 kB / 1.256 GB, free: 4.125 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.5048, allocations: 30.56 kB / 1.256 GB, free: 4.086 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.5049, allocations: 0 / 1.256 GB, free: 4.086 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.002279/0.5071, allocations: 0.5732 MB / 1.257 GB, free: 3.484 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.5072, allocations: 55.41 kB / 1.257 GB, free: 3.418 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.5074, allocations: 263 kB / 1.257 GB, free: 3.152 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.5075, allocations: 25.7 kB / 1.257 GB, free: 3.121 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.5076, allocations: 176.3 kB / 1.257 GB, free: 2.945 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.01e-05/0.5077, allocations: 51.53 kB / 1.257 GB, free: 2.895 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.5077, allocations: 33.72 kB / 1.258 GB, free: 2.855 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5078, allocations: 334.8 kB / 1.258 GB, free: 2.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.5081, allocations: 99.91 kB / 1.258 GB, free: 2.422 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.5085, allocations: 128.2 kB / 1.258 GB, free: 2.281 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006086/0.5091, allocations: 244 kB / 1.258 GB, free: 2.027 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5091, allocations: 0 / 1.258 GB, free: 2.027 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001166/0.5103, allocations: 357.3 kB / 1.259 GB, free: 1.672 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.5103, allocations: 4 kB / 1.259 GB, free: 1.668 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5103, allocations: 4 kB / 1.259 GB, free: 1.664 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005996/0.5109, allocations: 88.88 kB / 1.259 GB, free: 1.574 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.5112, allocations: 43.97 kB / 1.259 GB, free: 1.531 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6471/1.158, allocations: 1.714 MB / 1.26 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/1.159, allocations: 37.28 kB / 1.26 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/1.159, allocations: 5.75 kB / 1.26 GB, free: 175.6 MB / 1.014 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.0001612/1.159, allocations: 147.9 kB / 1.261 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/1.159, allocations: 27.84 kB / 1.261 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/1.16, allocations: 362.5 kB / 1.261 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.16, allocations: 2.906 kB / 1.261 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/1.16, allocations: 2.5 kB / 1.261 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.16, allocations: 2.109 kB / 1.261 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/1.162, allocations: 0.7814 MB / 1.262 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/1.162, allocations: 1.031 kB / 1.262 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/1.162, allocations: 37.58 kB / 1.262 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004624/1.163, allocations: 78.12 kB / 1.262 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/1.163, allocations: 3.531 kB / 1.262 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/1.165, allocations: 1.742 MB / 1.264 GB, free: 173.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.165, allocations: 3.812 kB / 1.264 GB, free: 173.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/1.166, allocations: 457.9 kB / 1.264 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/1.166, allocations: 123.9 kB / 1.264 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/1.166, allocations: 7.109 kB / 1.264 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/1.166, allocations: 19.66 kB / 1.264 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.003e-05/1.166, allocations: 18.05 kB / 1.264 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/1.166, allocations: 9.5 kB / 1.264 GB, free: 173.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002252/1.167, allocations: 192.6 kB / 1.264 GB, free: 173.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.167, allocations: 0 / 1.264 GB, free: 173.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004745/1.167, allocations: 85.86 kB / 1.264 GB, free: 173.4 MB / 1.014 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.0003945/1.168, allocations: 160.2 kB / 1.265 GB, free: 173.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001061/1.169, allocations: 369.9 kB / 1.265 GB, free: 173.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/1.169, allocations: 0 / 1.265 GB, free: 173.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006293/1.169, allocations: 258.7 kB / 1.265 GB, free: 173 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007778/1.17, allocations: 129.8 kB / 1.265 GB, free: 172.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008831/1.171, allocations: 0.5013 MB / 1.266 GB, free: 172.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/1.171, allocations: 0.7718 MB / 1.267 GB, free: 171.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002164/1.171, allocations: 58.47 kB / 1.267 GB, free: 171.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/1.172, allocations: 20.66 kB / 1.267 GB, free: 171.9 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/1.172, allocations: 4.781 kB / 1.267 GB, free: 171.9 MB / 1.014 GB Notification: Performance of Templates: time 0.01319/1.185, allocations: 5.983 MB / 1.272 GB, free: 171.6 MB / 1.014 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