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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001503/0.001503, allocations: 108 kB / 15.61 MB, free: 152 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.001858/0.001858, allocations: 195.3 kB / 16.53 MB, free: 6.699 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.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.2 MB / 0.6647 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 71.89 kB / 0.8125 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7732/0.7747, allocations: 140.4 MB / 0.9496 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2037/0.9785, allocations: 161.5 MB / 1.107 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005549/0.9841, allocations: 3.496 MB / 1.111 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003596/0.9845, allocations: 11.94 kB / 1.111 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.9851, allocations: 135 kB / 1.111 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.9866, allocations: 449.9 kB / 1.111 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.9885, allocations: 0.5955 MB / 1.112 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0007966/0.9893, allocations: 0.6244 MB / 1.112 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003876/0.9897, allocations: 224.6 kB / 1.113 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.9909, allocations: 348.9 kB / 1.113 GB, free: 9.879 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.9912, allocations: 195.2 kB / 1.113 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.9913, allocations: 24 kB / 1.113 GB, free: 9.664 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.9924, allocations: 0.5495 MB / 1.114 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.9925, allocations: 95.7 kB / 1.114 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.9927, allocations: 139.3 kB / 1.114 GB, free: 8.883 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008571/0.9936, allocations: 0.5415 MB / 1.115 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.9936, allocations: 0 / 1.115 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9936, allocations: 0 / 1.115 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.9936, allocations: 0 / 1.115 GB, free: 8.34 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.001127/0.9947, allocations: 0.6389 MB / 1.115 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.9948, allocations: 8.031 kB / 1.115 GB, free: 7.645 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005474/0.9953, allocations: 79.48 kB / 1.115 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.9957, allocations: 285.4 kB / 1.115 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.9957, allocations: 16.44 kB / 1.116 GB, free: 7.234 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.9958, allocations: 28 kB / 1.116 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006224/0.9964, allocations: 308.1 kB / 1.116 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.9964, allocations: 0 / 1.116 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.9964, allocations: 12 kB / 1.116 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.9965, allocations: 11.94 kB / 1.116 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006654/0.9971, allocations: 244.6 kB / 1.116 GB, free: 6.621 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.00163/0.9988, allocations: 1.268 MB / 1.117 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.9992, allocations: 178.5 kB / 1.117 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.9996, allocations: 120.8 kB / 1.118 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005978/1, allocations: 307.2 kB / 1.118 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/1, allocations: 38.5 kB / 1.118 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.824e-06/1, allocations: 0 / 1.118 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0023/1.003, allocations: 0.5691 MB / 1.118 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/1.003, allocations: 59.41 kB / 1.119 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/1.003, allocations: 259 kB / 1.119 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/1.003, allocations: 25.7 kB / 1.119 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/1.003, allocations: 168.2 kB / 1.119 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/1.003, allocations: 47.34 kB / 1.119 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.608e-05/1.003, allocations: 37.62 kB / 1.119 GB, free: 3.32 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.003, allocations: 334.8 kB / 1.119 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/1.004, allocations: 99.91 kB / 1.119 GB, free: 2.887 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/1.004, allocations: 133.8 kB / 1.12 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/1.004, allocations: 241.3 kB / 1.12 GB, free: 2.492 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.004, allocations: 4 kB / 1.12 GB, free: 2.488 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00113/1.006, allocations: 353.8 kB / 1.12 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.006, allocations: 4 kB / 1.12 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/1.006, allocations: 0 / 1.12 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/1.006, allocations: 92.88 kB / 1.12 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/1.007, allocations: 39.97 kB / 1.12 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/1.009, allocations: 1.727 MB / 1.122 GB, free: 132 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/1.009, allocations: 39.81 kB / 1.122 GB, free: 92 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/1.009, allocations: 4 kB / 1.122 GB, free: 88 kB / 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.0001924/1.009, allocations: 142.6 kB / 1.122 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/1.009, allocations: 23.72 kB / 1.122 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/1.01, allocations: 371.9 kB / 1.123 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/1.01, allocations: 0 / 1.123 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/1.01, allocations: 0 / 1.123 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/1.01, allocations: 0 / 1.123 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/1.012, allocations: 0.7746 MB / 1.123 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.012, allocations: 8.094 kB / 1.123 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/1.012, allocations: 35.91 kB / 1.123 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/1.013, allocations: 80.77 kB / 1.123 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/1.013, allocations: 11.94 kB / 1.123 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/1.015, allocations: 1.739 MB / 1.125 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.015, allocations: 3.938 kB / 1.125 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/1.016, allocations: 450.3 kB / 1.126 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/1.016, allocations: 124.8 kB / 1.126 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/1.016, allocations: 3.984 kB / 1.126 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/1.016, allocations: 27.91 kB / 1.126 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.226e-05/1.016, allocations: 23.86 kB / 1.126 GB, free: 12 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/1.016, allocations: 8 kB / 1.126 GB, free: 12 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001817/1.017, allocations: 186 kB / 1.126 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/1.017, allocations: 0 / 1.126 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004613/1.017, allocations: 91.83 kB / 1.126 GB, free: 11.73 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.0004664/1.018, allocations: 157.1 kB / 1.126 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001056/1.019, allocations: 377.7 kB / 1.127 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.019, allocations: 4 kB / 1.127 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005887/1.019, allocations: 254.7 kB / 1.127 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007643/1.02, allocations: 118.3 kB / 1.127 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009378/1.021, allocations: 0.4997 MB / 1.127 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/1.021, allocations: 0.7751 MB / 1.128 GB, free: 9.484 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000216/1.022, allocations: 62.23 kB / 1.128 GB, free: 9.426 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/1.022, allocations: 19.44 kB / 1.128 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of SimCode: time 2.2e-07/1.022, allocations: 0 / 1.128 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of Templates: time 0.01111/1.033, allocations: 5.942 MB / 1.134 GB, free: 3.539 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches