Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001262/0.001262, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001254/0.001254, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.347/2.347, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 63.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8703/0.8719, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1953/1.067, allocations: 161.5 MB / 1.325 GB, free: 1.742 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005003/1.072, allocations: 3.485 MB / 1.328 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/1.073, allocations: 7.938 kB / 1.328 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004727/1.073, allocations: 143 kB / 1.329 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001263/1.074, allocations: 465.9 kB / 1.329 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00161/1.076, allocations: 0.6072 MB / 1.33 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007023/1.077, allocations: 0.6283 MB / 1.33 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003717/1.077, allocations: 228.6 kB / 1.33 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/1.078, allocations: 345 kB / 1.331 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/1.079, allocations: 191.2 kB / 1.331 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/1.079, allocations: 20 kB / 1.331 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008998/1.08, allocations: 0.5612 MB / 1.332 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/1.08, allocations: 95.77 kB / 1.332 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/1.08, allocations: 147.3 kB / 1.332 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007738/1.081, allocations: 0.5511 MB / 1.332 GB, free: 10.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/1.081, allocations: 4 kB / 1.332 GB, free: 10.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.272e-06/1.081, allocations: 3.938 kB / 1.332 GB, free: 10.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.602e-06/1.081, allocations: 0 / 1.332 GB, free: 10.29 MB / 1.061 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.001073/1.082, allocations: 0.635 MB / 1.333 GB, free: 9.602 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/1.082, allocations: 8.922 kB / 1.333 GB, free: 9.594 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005423/1.082, allocations: 71.52 kB / 1.333 GB, free: 9.523 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/1.083, allocations: 309.2 kB / 1.333 GB, free: 9.18 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/1.083, allocations: 16.44 kB / 1.333 GB, free: 9.164 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/1.083, allocations: 24 kB / 1.333 GB, free: 9.141 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006027/1.084, allocations: 312.1 kB / 1.334 GB, free: 8.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.084, allocations: 0 / 1.334 GB, free: 8.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/1.084, allocations: 12 kB / 1.334 GB, free: 8.809 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/1.084, allocations: 7.938 kB / 1.334 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000626/1.084, allocations: 248.9 kB / 1.334 GB, free: 8.559 MB / 1.061 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.00161/1.086, allocations: 1.244 MB / 1.335 GB, free: 7.203 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/1.086, allocations: 179.1 kB / 1.335 GB, free: 7.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/1.087, allocations: 124.8 kB / 1.335 GB, free: 6.895 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005898/1.087, allocations: 303.2 kB / 1.336 GB, free: 6.543 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/1.087, allocations: 42.5 kB / 1.336 GB, free: 6.492 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/1.087, allocations: 0 / 1.336 GB, free: 6.492 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.002259/1.09, allocations: 0.5626 MB / 1.336 GB, free: 5.902 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/1.09, allocations: 55.41 kB / 1.336 GB, free: 5.836 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/1.09, allocations: 263 kB / 1.337 GB, free: 5.574 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/1.09, allocations: 29.7 kB / 1.337 GB, free: 5.539 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/1.09, allocations: 164.1 kB / 1.337 GB, free: 5.375 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/1.09, allocations: 47.3 kB / 1.337 GB, free: 5.328 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.719e-05/1.09, allocations: 37.7 kB / 1.337 GB, free: 5.285 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.09, allocations: 334.8 kB / 1.337 GB, free: 4.949 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/1.091, allocations: 99.91 kB / 1.337 GB, free: 4.852 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/1.091, allocations: 136.1 kB / 1.337 GB, free: 4.703 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000576/1.091, allocations: 241.4 kB / 1.338 GB, free: 4.453 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.092, allocations: 4 kB / 1.338 GB, free: 4.449 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001154/1.093, allocations: 351.1 kB / 1.338 GB, free: 4.098 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/1.093, allocations: 4 kB / 1.338 GB, free: 4.094 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.093, allocations: 4 kB / 1.338 GB, free: 4.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006382/1.093, allocations: 92.88 kB / 1.338 GB, free: 3.996 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/1.094, allocations: 39.91 kB / 1.338 GB, free: 3.957 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/1.096, allocations: 1.737 MB / 1.34 GB, free: 2.074 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/1.096, allocations: 35.84 kB / 1.34 GB, free: 2.039 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/1.096, allocations: 4 kB / 1.34 GB, free: 2.035 MB / 1.061 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.0001648/1.096, allocations: 149.8 kB / 1.34 GB, free: 1.879 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/1.096, allocations: 23.72 kB / 1.34 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/1.098, allocations: 371.8 kB / 1.34 GB, free: 1.484 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/1.098, allocations: 0 / 1.34 GB, free: 1.484 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/1.098, allocations: 0 / 1.34 GB, free: 1.484 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/1.098, allocations: 4 kB / 1.34 GB, free: 1.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/1.099, allocations: 0.7862 MB / 1.341 GB, free: 0.625 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.099, allocations: 0 / 1.341 GB, free: 0.625 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/1.1, allocations: 31.97 kB / 1.341 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004502/1.1, allocations: 80.86 kB / 1.341 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/1.1, allocations: 11.94 kB / 1.341 GB, free: 0.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/1.102, allocations: 1.736 MB / 1.343 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.102, allocations: 144 / 1.343 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/1.103, allocations: 460.6 kB / 1.343 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/1.103, allocations: 120.8 kB / 1.343 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/1.103, allocations: 0 / 1.343 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/1.104, allocations: 27.91 kB / 1.344 GB, free: 13.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/1.104, allocations: 19.97 kB / 1.344 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/1.104, allocations: 8 kB / 1.344 GB, free: 13.95 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001616/1.104, allocations: 190 kB / 1.344 GB, free: 13.77 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.104, allocations: 4 kB / 1.344 GB, free: 13.77 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00043/1.104, allocations: 79.84 kB / 1.344 GB, free: 13.69 MB / 1.076 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.0003896/1.105, allocations: 159.1 kB / 1.344 GB, free: 13.53 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009809/1.106, allocations: 367.8 kB / 1.344 GB, free: 13.16 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.106, allocations: 0 / 1.344 GB, free: 13.16 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005757/1.106, allocations: 266.6 kB / 1.345 GB, free: 12.88 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006948/1.107, allocations: 119.4 kB / 1.345 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008928/1.108, allocations: 0.5281 MB / 1.345 GB, free: 12.2 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/1.108, allocations: 0.7752 MB / 1.346 GB, free: 11.4 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-05/1.108, allocations: 19.44 kB / 1.346 GB, free: 11.38 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/1.108, allocations: 0 / 1.346 GB, free: 11.38 MB / 1.076 GB Notification: Performance of Templates: time 0.00754/1.116, allocations: 5.413 MB / 1.351 GB, free: 5.992 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches