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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001502/0.001502, allocations: 110 kB / 16.37 MB, free: 6.469 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.00171/0.00171, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.449/2.449, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 61.09 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3057, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6873/0.9931, allocations: 161.5 MB / 1.176 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004834/0.998, allocations: 3.5 MB / 1.18 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003588/0.9984, allocations: 9.844 kB / 1.18 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004436/0.9988, allocations: 132.8 kB / 1.18 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00122/1, allocations: 454.3 kB / 1.18 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001563/1.002, allocations: 0.5904 MB / 1.181 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008759/1.003, allocations: 0.6303 MB / 1.182 GB, free: 8.203 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004316/1.003, allocations: 230 kB / 1.182 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/1.004, allocations: 342.8 kB / 1.182 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/1.004, allocations: 198.3 kB / 1.182 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.317e-05/1.005, allocations: 21.59 kB / 1.182 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/1.006, allocations: 0.5449 MB / 1.183 GB, free: 7.465 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/1.006, allocations: 100.2 kB / 1.183 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001609/1.006, allocations: 144.5 kB / 1.183 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007891/1.007, allocations: 0.5544 MB / 1.184 GB, free: 6.957 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/1.007, allocations: 0 / 1.184 GB, free: 6.957 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.252e-06/1.007, allocations: 0 / 1.184 GB, free: 6.957 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.114e-06/1.007, allocations: 0 / 1.184 GB, free: 6.957 MB / 0.8887 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.001012/1.008, allocations: 0.6316 MB / 1.184 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/1.008, allocations: 13.8 kB / 1.184 GB, free: 6.395 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004989/1.008, allocations: 79.27 kB / 1.184 GB, free: 6.355 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/1.009, allocations: 306.2 kB / 1.185 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/1.009, allocations: 16.5 kB / 1.185 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/1.009, allocations: 22.22 kB / 1.185 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005765/1.009, allocations: 309.2 kB / 1.185 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/1.009, allocations: 1.406 kB / 1.185 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/1.01, allocations: 14.75 kB / 1.185 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/1.01, allocations: 4.25 kB / 1.185 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006085/1.01, allocations: 249.8 kB / 1.185 GB, free: 5.723 MB / 0.8887 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.001578/1.012, allocations: 1.247 MB / 1.187 GB, free: 4.566 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/1.012, allocations: 172.2 kB / 1.187 GB, free: 4.473 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/1.012, allocations: 127.6 kB / 1.187 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005425/1.013, allocations: 298.6 kB / 1.187 GB, free: 4.102 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/1.013, allocations: 39.53 kB / 1.187 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=14): time 1.542e-06/1.013, allocations: 5.25 kB / 1.187 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of matching and sorting (n=14): time 0.002191/1.015, allocations: 0.5718 MB / 1.188 GB, free: 3.699 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/1.015, allocations: 54.25 kB / 1.188 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/1.016, allocations: 260.6 kB / 1.188 GB, free: 3.465 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/1.016, allocations: 29.7 kB / 1.188 GB, free: 3.43 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/1.016, allocations: 162.5 kB / 1.188 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/1.016, allocations: 52.97 kB / 1.188 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.397e-05/1.016, allocations: 44.2 kB / 1.188 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.016, allocations: 331.5 kB / 1.189 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/1.016, allocations: 95.48 kB / 1.189 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/1.017, allocations: 134 kB / 1.189 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/1.017, allocations: 240 kB / 1.189 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.017, allocations: 1.094 kB / 1.189 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001062/1.018, allocations: 357.6 kB / 1.189 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/1.018, allocations: 5.188 kB / 1.189 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/1.018, allocations: 2.938 kB / 1.189 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000584/1.019, allocations: 89.45 kB / 1.189 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/1.019, allocations: 50.92 kB / 1.19 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/1.021, allocations: 1.727 MB / 1.191 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/1.021, allocations: 29.33 kB / 1.191 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/1.021, allocations: 10.73 kB / 1.191 GB, free: 0.6641 MB / 0.8887 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.0001456/1.022, allocations: 146.8 kB / 1.191 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/1.022, allocations: 24.78 kB / 1.191 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/1.023, allocations: 366.1 kB / 1.192 GB, free: 300 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.023, allocations: 1.562 kB / 1.192 GB, free: 300 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/1.023, allocations: 3.938 kB / 1.192 GB, free: 300 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/1.023, allocations: 3.984 kB / 1.192 GB, free: 296 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/1.024, allocations: 0.7698 MB / 1.193 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.024, allocations: 6.078 kB / 1.193 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/1.025, allocations: 36.53 kB / 1.193 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004208/1.025, allocations: 79.69 kB / 1.193 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/1.025, allocations: 11.03 kB / 1.193 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/1.027, allocations: 1.742 MB / 1.194 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.027, allocations: 5.688 kB / 1.194 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/1.028, allocations: 450.1 kB / 1.195 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/1.028, allocations: 123.9 kB / 1.195 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/1.028, allocations: 9.531 kB / 1.195 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/1.028, allocations: 24.66 kB / 1.195 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/1.028, allocations: 15.27 kB / 1.195 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/1.029, allocations: 5.562 kB / 1.195 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001642/1.029, allocations: 193.4 kB / 1.195 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.029, allocations: 3.938 kB / 1.195 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004116/1.029, allocations: 74.78 kB / 1.195 GB, free: 13.34 MB / 0.9044 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.0003399/1.029, allocations: 159.9 kB / 1.195 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009366/1.03, allocations: 359.5 kB / 1.196 GB, free: 13 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.03, allocations: 1.5 kB / 1.196 GB, free: 13 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005515/1.031, allocations: 266.8 kB / 1.196 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006639/1.032, allocations: 129.2 kB / 1.196 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007746/1.032, allocations: 0.4901 MB / 1.197 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/1.033, allocations: 0.7714 MB / 1.197 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001624/1.033, allocations: 60.78 kB / 1.197 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/1.033, allocations: 19.81 kB / 1.197 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/1.033, allocations: 4 kB / 1.197 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of Templates: time 0.009638/1.043, allocations: 5.952 MB / 1.203 GB, free: 8.652 MB / 0.9044 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 -s gbode -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