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.001953/0.001953, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002489/0.002489, allocations: 197.8 kB / 16.26 MB, free: 6.629 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.616/1.616, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.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.962/2.962, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 67.89 kB / 0.8687 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6211/0.6232, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2066/0.8298, allocations: 159.3 MB / 1.172 GB, free: 2.785 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006426/0.8363, allocations: 3.466 MB / 1.176 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004513/0.8368, allocations: 15.94 kB / 1.176 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005544/0.8374, allocations: 111.2 kB / 1.176 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.8388, allocations: 430.2 kB / 1.176 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.8406, allocations: 0.5453 MB / 1.177 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008349/0.8414, allocations: 0.6284 MB / 1.177 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003963/0.8418, allocations: 228.6 kB / 1.178 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.8435, allocations: 338.8 kB / 1.178 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000309/0.8438, allocations: 211.1 kB / 1.178 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.389e-05/0.8439, allocations: 20 kB / 1.178 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.8449, allocations: 0.5689 MB / 1.179 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.845, allocations: 99.7 kB / 1.179 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.8452, allocations: 143.3 kB / 1.179 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008953/0.8461, allocations: 0.5765 MB / 1.18 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.8461, allocations: 0 / 1.18 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.937e-06/0.8461, allocations: 0 / 1.18 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.8461, allocations: 3.938 kB / 1.18 GB, free: 11.43 MB / 0.9356 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.001199/0.8473, allocations: 0.6325 MB / 1.18 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.8474, allocations: 12.03 kB / 1.18 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005545/0.848, allocations: 71.5 kB / 1.18 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.8484, allocations: 301.3 kB / 1.181 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.8484, allocations: 12.44 kB / 1.181 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.8485, allocations: 20 kB / 1.181 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006965/0.8492, allocations: 312.2 kB / 1.181 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.8492, allocations: 7.875 kB / 1.181 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.57e-05/0.8492, allocations: 12 kB / 1.181 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.8493, allocations: 11.88 kB / 1.181 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006951/0.85, allocations: 244.9 kB / 1.181 GB, free: 9.703 MB / 0.9356 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.001798/0.8518, allocations: 1.252 MB / 1.182 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004624/0.8522, allocations: 174.5 kB / 1.183 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/0.8526, allocations: 124.8 kB / 1.183 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006543/0.8532, allocations: 303.2 kB / 1.183 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.8533, allocations: 34.56 kB / 1.183 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.8533, allocations: 0 / 1.183 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.002405/0.8557, allocations: 0.5727 MB / 1.184 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.8558, allocations: 59.41 kB / 1.184 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.8561, allocations: 259 kB / 1.184 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.8561, allocations: 29.7 kB / 1.184 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.8563, allocations: 164.2 kB / 1.184 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.409e-05/0.8563, allocations: 47.34 kB / 1.184 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.025e-05/0.8564, allocations: 41.62 kB / 1.184 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.8566, allocations: 330.8 kB / 1.184 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.8569, allocations: 99.91 kB / 1.184 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.8572, allocations: 132.1 kB / 1.185 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006182/0.8579, allocations: 240.1 kB / 1.185 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8579, allocations: 0 / 1.185 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001206/0.8591, allocations: 357.8 kB / 1.185 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.8591, allocations: 4 kB / 1.185 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.8591, allocations: 4 kB / 1.185 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006975/0.8599, allocations: 88.88 kB / 1.185 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.8601, allocations: 39.97 kB / 1.185 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/0.8628, allocations: 1.733 MB / 1.187 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.8631, allocations: 39.88 kB / 1.187 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.8631, allocations: 4 kB / 1.187 GB, free: 3.176 MB / 0.9356 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.0002843/0.8634, allocations: 149.8 kB / 1.187 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.8635, allocations: 23.72 kB / 1.187 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.8647, allocations: 366.8 kB / 1.188 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.8647, allocations: 7.938 kB / 1.188 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.8648, allocations: 0 / 1.188 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.8648, allocations: 3.984 kB / 1.188 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.8666, allocations: 0.7707 MB / 1.188 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.8667, allocations: 96 / 1.188 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.8669, allocations: 39.95 kB / 1.188 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004791/0.8674, allocations: 76.78 kB / 1.188 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/0.8674, allocations: 11.94 kB / 1.188 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/0.87, allocations: 1.751 MB / 1.19 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.87, allocations: 0 / 1.19 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.8713, allocations: 454.3 kB / 1.191 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.8715, allocations: 128.7 kB / 1.191 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.8716, allocations: 4 kB / 1.191 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.8719, allocations: 27.91 kB / 1.191 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.872, allocations: 11.98 kB / 1.191 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.8721, allocations: 15.98 kB / 1.191 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002746/0.8723, allocations: 186 kB / 1.191 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8723, allocations: 4 kB / 1.191 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005889/0.8729, allocations: 75.84 kB / 1.191 GB, free: 14.82 MB / 0.9512 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.0006713/0.8736, allocations: 169.5 kB / 1.191 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001157/0.8748, allocations: 367.8 kB / 1.192 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8748, allocations: 0 / 1.192 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006205/0.8754, allocations: 258.7 kB / 1.192 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007912/0.8762, allocations: 126.7 kB / 1.192 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.8776, allocations: 0.5951 MB / 1.192 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.8781, allocations: 0.7714 MB / 1.193 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002703/0.8784, allocations: 54.27 kB / 1.193 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/0.8785, allocations: 23.38 kB / 1.193 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of SimCode: time 3.4e-07/0.8785, allocations: 0 / 1.193 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of Templates: time 0.01423/0.8927, allocations: 5.754 MB / 1.199 GB, free: 6.715 MB / 0.9512 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches