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.001441/0.001441, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001704/0.001705, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.448/1.448, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.675/2.675, allocations: 437 MB / 0.7103 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 64.05 kB / 0.8692 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7188/0.7204, allocations: 151.6 MB / 1.017 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1724/0.8928, allocations: 161.5 MB / 1.175 GB, free: 444 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004856/0.8977, allocations: 3.495 MB / 1.178 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000429/0.8982, allocations: 7.938 kB / 1.178 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005571/0.8988, allocations: 139 kB / 1.179 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.9003, allocations: 445.9 kB / 1.179 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.9022, allocations: 0.5916 MB / 1.18 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007165/0.9029, allocations: 0.6284 MB / 1.18 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003549/0.9033, allocations: 228.4 kB / 1.18 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.9045, allocations: 348.5 kB / 1.181 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.9048, allocations: 195.2 kB / 1.181 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.692e-05/0.9049, allocations: 24 kB / 1.181 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.9059, allocations: 0.5417 MB / 1.181 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.9061, allocations: 103.7 kB / 1.182 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.9062, allocations: 143.3 kB / 1.182 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000799/0.907, allocations: 0.5376 MB / 1.182 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.9071, allocations: 0 / 1.182 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9071, allocations: 0 / 1.182 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.9071, allocations: 4 kB / 1.182 GB, free: 9.027 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.001056/0.9081, allocations: 0.6324 MB / 1.183 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.9082, allocations: 12.03 kB / 1.183 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005161/0.9087, allocations: 79.5 kB / 1.183 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.9091, allocations: 293.3 kB / 1.183 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.9091, allocations: 16.44 kB / 1.183 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.9092, allocations: 16 kB / 1.183 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006202/0.9098, allocations: 320.1 kB / 1.184 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.9098, allocations: 0 / 1.184 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.9099, allocations: 8 kB / 1.184 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.9099, allocations: 7.938 kB / 1.184 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006556/0.9105, allocations: 252.9 kB / 1.184 GB, free: 7.305 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.001584/0.9121, allocations: 1.26 MB / 1.185 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.9126, allocations: 170.5 kB / 1.185 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.9129, allocations: 124.7 kB / 1.185 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005794/0.9135, allocations: 303.2 kB / 1.186 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.9136, allocations: 34.56 kB / 1.186 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.9136, allocations: 0 / 1.186 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.002259/0.9158, allocations: 0.5692 MB / 1.186 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.9159, allocations: 59.33 kB / 1.186 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.9161, allocations: 263 kB / 1.186 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.9162, allocations: 25.7 kB / 1.187 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.9163, allocations: 164.2 kB / 1.187 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.9163, allocations: 47.34 kB / 1.187 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.9164, allocations: 41.61 kB / 1.187 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.9165, allocations: 330.8 kB / 1.187 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.9168, allocations: 99.91 kB / 1.187 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.9172, allocations: 133.6 kB / 1.187 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006008/0.9178, allocations: 240.1 kB / 1.188 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9178, allocations: 0 / 1.188 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001171/0.919, allocations: 361.6 kB / 1.188 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.919, allocations: 4 kB / 1.188 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.919, allocations: 4 kB / 1.188 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/0.9196, allocations: 88.89 kB / 1.188 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.9199, allocations: 39.91 kB / 1.188 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.9221, allocations: 1.734 MB / 1.19 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.9223, allocations: 31.89 kB / 1.19 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.9224, allocations: 11.94 kB / 1.19 GB, free: 0.7734 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.0001443/0.9225, allocations: 145.8 kB / 1.19 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.9226, allocations: 27.72 kB / 1.19 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.9238, allocations: 362.3 kB / 1.19 GB, free: 236 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.9238, allocations: 8 kB / 1.19 GB, free: 228 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.9238, allocations: 0 / 1.19 GB, free: 228 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.9238, allocations: 3.984 kB / 1.19 GB, free: 224 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.9256, allocations: 0.7745 MB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.9256, allocations: 3.984 kB / 1.191 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.9258, allocations: 40.06 kB / 1.191 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004561/0.9263, allocations: 76.78 kB / 1.191 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.9263, allocations: 7.938 kB / 1.191 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/0.9283, allocations: 1.743 MB / 1.193 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.9284, allocations: 4.031 kB / 1.193 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.9296, allocations: 454.3 kB / 1.193 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.9297, allocations: 120.7 kB / 1.193 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.9298, allocations: 8 kB / 1.193 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.9301, allocations: 31.84 kB / 1.193 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.9301, allocations: 15.98 kB / 1.193 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.9302, allocations: 4 kB / 1.193 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001872/0.9304, allocations: 189.9 kB / 1.194 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.9304, allocations: 0 / 1.194 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004581/0.9308, allocations: 79.94 kB / 1.194 GB, free: 12.43 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.0004016/0.9312, allocations: 161.5 kB / 1.194 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.9323, allocations: 362.6 kB / 1.194 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/0.9323, allocations: 0 / 1.194 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006478/0.933, allocations: 266.7 kB / 1.194 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007938/0.9338, allocations: 129 kB / 1.195 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009528/0.9348, allocations: 0.5025 MB / 1.195 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.9351, allocations: 0.7714 MB / 1.196 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002239/0.9353, allocations: 62.19 kB / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.9354, allocations: 19.44 kB / 1.196 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.9354, allocations: 0 / 1.196 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of Templates: time 0.01186/0.9473, allocations: 5.936 MB / 1.202 GB, free: 4.223 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=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/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