Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001022/0.001022, allocations: 91.69 kB / 16.02 MB, free: 80 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.001513/0.001513, allocations: 181.4 kB / 16.92 MB, free: 6.652 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.441/1.441, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.552/2.552, allocations: 390.9 MB / 0.667 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003723, allocations: 12 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7837/0.7841, allocations: 142.4 MB / 0.9557 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1942/0.9784, allocations: 157.2 MB / 1.109 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00526/0.9837, allocations: 3.477 MB / 1.113 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004357/0.9842, allocations: 7.938 kB / 1.113 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.9847, allocations: 99.3 kB / 1.113 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.9861, allocations: 426.2 kB / 1.113 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.9878, allocations: 0.5402 MB / 1.114 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000998/0.9888, allocations: 0.8155 MB / 1.114 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004162/0.9892, allocations: 196.6 kB / 1.115 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.9909, allocations: 300.1 kB / 1.115 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003756/0.9913, allocations: 195.1 kB / 1.115 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.382e-05/0.9914, allocations: 12 kB / 1.115 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.9925, allocations: 0.6312 MB / 1.116 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.9927, allocations: 83.78 kB / 1.116 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.9929, allocations: 153 kB / 1.116 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006197/0.9935, allocations: 387.1 kB / 1.116 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9935, allocations: 0 / 1.116 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9935, allocations: 0 / 1.116 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.9936, allocations: 4 kB / 1.116 GB, free: 10.27 MB / 0.8731 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.001143/0.9947, allocations: 0.6039 MB / 1.117 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.9948, allocations: 8.031 kB / 1.117 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005759/0.9953, allocations: 79.5 kB / 1.117 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.9957, allocations: 301.2 kB / 1.117 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.9958, allocations: 12.44 kB / 1.117 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.9958, allocations: 20 kB / 1.117 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007147/0.9965, allocations: 332.2 kB / 1.118 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.9966, allocations: 3.938 kB / 1.118 GB, free: 8.82 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.9966, allocations: 8 kB / 1.118 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.9966, allocations: 7.938 kB / 1.118 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007279/0.9974, allocations: 288.6 kB / 1.118 GB, free: 8.523 MB / 0.8731 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.001768/0.9991, allocations: 1.256 MB / 1.119 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.9996, allocations: 194.5 kB / 1.119 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/1, allocations: 140.8 kB / 1.119 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006237/1.001, allocations: 315.2 kB / 1.12 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/1.001, allocations: 34.55 kB / 1.12 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/1.001, allocations: 0 / 1.12 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.00238/1.003, allocations: 0.6322 MB / 1.12 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/1.003, allocations: 51.41 kB / 1.12 GB, free: 5.688 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/1.003, allocations: 259 kB / 1.121 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/1.003, allocations: 33.7 kB / 1.121 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/1.004, allocations: 160.2 kB / 1.121 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/1.004, allocations: 47.34 kB / 1.121 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/1.004, allocations: 21.7 kB / 1.121 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.004, allocations: 342.8 kB / 1.121 GB, free: 4.812 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/1.004, allocations: 103.9 kB / 1.121 GB, free: 4.711 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/1.004, allocations: 160.1 kB / 1.122 GB, free: 4.539 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006452/1.005, allocations: 269.7 kB / 1.122 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.005, allocations: 4 kB / 1.122 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001239/1.006, allocations: 383.5 kB / 1.122 GB, free: 3.875 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.006, allocations: 5.875 kB / 1.122 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/1.006, allocations: 4 kB / 1.122 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006156/1.007, allocations: 92.89 kB / 1.122 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/1.007, allocations: 51.89 kB / 1.122 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/1.01, allocations: 1.611 MB / 1.124 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/1.01, allocations: 43.88 kB / 1.124 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/1.01, allocations: 7.938 kB / 1.124 GB, free: 1.926 MB / 0.8731 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.000174/1.01, allocations: 141.8 kB / 1.124 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/1.01, allocations: 27.66 kB / 1.124 GB, free: 1.75 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/1.011, allocations: 414 kB / 1.124 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.011, allocations: 0 / 1.124 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.011, allocations: 4 kB / 1.124 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.011, allocations: 0 / 1.124 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/1.013, allocations: 0.8136 MB / 1.125 GB, free: 460 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.013, allocations: 0 / 1.125 GB, free: 460 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/1.013, allocations: 43.97 kB / 1.125 GB, free: 416 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005218/1.014, allocations: 92.84 kB / 1.125 GB, free: 320 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/1.014, allocations: 0 / 1.125 GB, free: 320 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/1.016, allocations: 1.629 MB / 1.127 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.016, allocations: 3.938 kB / 1.127 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/1.017, allocations: 494.4 kB / 1.127 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/1.017, allocations: 116.8 kB / 1.128 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/1.017, allocations: 4 kB / 1.128 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/1.018, allocations: 31.97 kB / 1.128 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/1.018, allocations: 23.97 kB / 1.128 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/1.018, allocations: 4 kB / 1.128 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001867/1.018, allocations: 186 kB / 1.128 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.41e-07/1.018, allocations: 0 / 1.128 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004516/1.018, allocations: 87.78 kB / 1.128 GB, free: 13.57 MB / 0.8887 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.0004647/1.019, allocations: 164.1 kB / 1.128 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001089/1.02, allocations: 400.8 kB / 1.128 GB, free: 13 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.02, allocations: 0 / 1.128 GB, free: 13 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006376/1.021, allocations: 282.6 kB / 1.129 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008215/1.022, allocations: 118.5 kB / 1.129 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/1.023, allocations: 0.6253 MB / 1.129 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/1.023, allocations: 0.7752 MB / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/1.023, allocations: 19.44 kB / 1.13 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of SimCode: time 3.51e-07/1.023, allocations: 0 / 1.13 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of Templates: time 0.00952/1.033, allocations: 5.348 MB / 1.135 GB, free: 5.801 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches