Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005327/0.005327, allocations: 99.62 kB / 15.73 MB, free: 6.488 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.001078/0.001078, allocations: 196.4 kB / 16.68 MB, free: 6.371 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.858/2.858, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3579, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 1.042/1.4, allocations: 161.9 MB / 1.379 GB, free: 7.051 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005328/1.406, allocations: 3.511 MB / 1.382 GB, free: 4.574 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004756/1.406, allocations: 10.41 kB / 1.382 GB, free: 4.57 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005724/1.407, allocations: 139.1 kB / 1.382 GB, free: 4.477 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/1.408, allocations: 469.7 kB / 1.383 GB, free: 4.145 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00182/1.41, allocations: 0.6117 MB / 1.383 GB, free: 3.691 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001034/1.411, allocations: 0.6256 MB / 1.384 GB, free: 3.324 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000558/1.411, allocations: 188.9 kB / 1.384 GB, free: 3.211 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/1.413, allocations: 346.7 kB / 1.384 GB, free: 3.027 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000466/1.414, allocations: 194 kB / 1.385 GB, free: 2.91 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.351e-05/1.414, allocations: 23.06 kB / 1.385 GB, free: 2.91 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/1.415, allocations: 0.5567 MB / 1.385 GB, free: 2.602 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000165/1.415, allocations: 100.4 kB / 1.385 GB, free: 2.531 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002486/1.415, allocations: 143.5 kB / 1.385 GB, free: 2.438 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/1.417, allocations: 0.5555 MB / 1.386 GB, free: 2.094 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/1.417, allocations: 3.984 kB / 1.386 GB, free: 2.09 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.365e-06/1.417, allocations: 0 / 1.386 GB, free: 2.09 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.634e-05/1.417, allocations: 1.156 kB / 1.386 GB, free: 2.09 MB / 1.076 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.001601/1.418, allocations: 0.6485 MB / 1.387 GB, free: 1.512 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.418, allocations: 9.594 kB / 1.387 GB, free: 1.512 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006412/1.419, allocations: 83.77 kB / 1.387 GB, free: 1.469 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000526/1.42, allocations: 301.9 kB / 1.387 GB, free: 1.184 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/1.42, allocations: 17.22 kB / 1.387 GB, free: 1.176 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/1.42, allocations: 16.91 kB / 1.387 GB, free: 1.172 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007337/1.42, allocations: 322 kB / 1.387 GB, free: 0.9531 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/1.42, allocations: 1.312 kB / 1.387 GB, free: 0.9531 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/1.42, allocations: 10.31 kB / 1.387 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/1.42, allocations: 5.719 kB / 1.387 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007441/1.421, allocations: 254.1 kB / 1.388 GB, free: 0.8281 MB / 1.076 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.00183/1.423, allocations: 1.246 MB / 1.389 GB, free: 15.67 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/1.423, allocations: 158.6 kB / 1.389 GB, free: 15.58 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/1.424, allocations: 127.8 kB / 1.389 GB, free: 15.51 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006155/1.424, allocations: 295.4 kB / 1.389 GB, free: 15.21 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/1.424, allocations: 39.66 kB / 1.389 GB, free: 15.16 MB / 1.092 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/1.424, allocations: 0 / 1.389 GB, free: 15.16 MB / 1.092 GB Notification: Performance of matching and sorting (n=14): time 0.002319/1.427, allocations: 0.5753 MB / 1.39 GB, free: 14.81 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/1.427, allocations: 58.03 kB / 1.39 GB, free: 14.75 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/1.427, allocations: 255.5 kB / 1.39 GB, free: 14.57 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/1.427, allocations: 31.83 kB / 1.39 GB, free: 14.54 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/1.427, allocations: 170.3 kB / 1.39 GB, free: 14.38 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/1.427, allocations: 53.3 kB / 1.391 GB, free: 14.34 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/1.427, allocations: 39.31 kB / 1.391 GB, free: 14.3 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.427, allocations: 337 kB / 1.391 GB, free: 13.97 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/1.428, allocations: 88.67 kB / 1.391 GB, free: 13.93 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/1.428, allocations: 141.6 kB / 1.391 GB, free: 13.84 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006002/1.429, allocations: 236 kB / 1.391 GB, free: 13.7 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.429, allocations: 1.031 kB / 1.391 GB, free: 13.7 MB / 1.092 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0013/1.43, allocations: 351.6 kB / 1.392 GB, free: 13.51 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.43, allocations: 5.875 kB / 1.392 GB, free: 13.51 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.43, allocations: 1.062 kB / 1.392 GB, free: 13.51 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006431/1.431, allocations: 87.92 kB / 1.392 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/1.431, allocations: 49.02 kB / 1.392 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/1.433, allocations: 1.729 MB / 1.394 GB, free: 11.79 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/1.434, allocations: 34.05 kB / 1.394 GB, free: 11.77 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/1.434, allocations: 5.156 kB / 1.394 GB, free: 11.77 MB / 1.092 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.0001801/1.434, allocations: 151 kB / 1.394 GB, free: 11.63 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/1.434, allocations: 26.78 kB / 1.394 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/1.435, allocations: 368.2 kB / 1.394 GB, free: 11.4 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.435, allocations: 1.281 kB / 1.394 GB, free: 11.4 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/1.435, allocations: 1.281 kB / 1.394 GB, free: 11.4 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.435, allocations: 0 / 1.394 GB, free: 11.4 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/1.437, allocations: 0.7772 MB / 1.395 GB, free: 10.79 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.437, allocations: 1.031 kB / 1.395 GB, free: 10.79 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/1.437, allocations: 32.09 kB / 1.395 GB, free: 10.78 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004597/1.438, allocations: 76.91 kB / 1.395 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/1.438, allocations: 14.67 kB / 1.395 GB, free: 10.73 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/1.44, allocations: 1.747 MB / 1.397 GB, free: 9.07 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.44, allocations: 1.375 kB / 1.397 GB, free: 9.07 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/1.441, allocations: 465.2 kB / 1.397 GB, free: 8.742 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/1.441, allocations: 123.7 kB / 1.397 GB, free: 8.617 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/1.441, allocations: 2.188 kB / 1.397 GB, free: 8.617 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/1.441, allocations: 28.16 kB / 1.397 GB, free: 8.602 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/1.441, allocations: 15.73 kB / 1.397 GB, free: 8.594 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/1.441, allocations: 9.234 kB / 1.397 GB, free: 8.59 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002272/1.442, allocations: 184.9 kB / 1.397 GB, free: 8.461 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/1.442, allocations: 5.125 kB / 1.397 GB, free: 8.457 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005226/1.442, allocations: 81.11 kB / 1.398 GB, free: 8.441 MB / 1.092 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.0005037/1.443, allocations: 159.5 kB / 1.398 GB, free: 8.324 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001068/1.444, allocations: 368 kB / 1.398 GB, free: 8.094 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.444, allocations: 0 / 1.398 GB, free: 8.094 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006045/1.444, allocations: 259.5 kB / 1.398 GB, free: 7.906 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007598/1.445, allocations: 126.2 kB / 1.398 GB, free: 7.848 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/1.446, allocations: 0.5036 MB / 1.399 GB, free: 7.484 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/1.447, allocations: 0.7763 MB / 1.4 GB, free: 6.742 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002158/1.447, allocations: 52.17 kB / 1.4 GB, free: 6.723 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.559e-05/1.447, allocations: 24.53 kB / 1.4 GB, free: 6.711 MB / 1.092 GB Notification: Performance of SimCode: time 3.41e-07/1.447, allocations: 0 / 1.4 GB, free: 6.711 MB / 1.092 GB Notification: Performance of Templates: time 0.01414/1.461, allocations: 6.012 MB / 1.406 GB, free: 3.691 MB / 1.092 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches