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.0009739/0.000974, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.00746/0.00746, allocations: 168.9 kB / 16.26 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.454/1.454, allocations: 223.3 MB / 240.3 MB, free: 5.371 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.541/2.541, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005271/0.0005271, allocations: 8 kB / 0.816 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7561/0.7567, allocations: 142.4 MB / 0.955 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1927/0.9494, allocations: 157.2 MB / 1.109 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005937/0.9554, allocations: 3.465 MB / 1.112 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004245/0.9559, allocations: 11.88 kB / 1.112 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004714/0.9564, allocations: 107.3 kB / 1.112 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.9578, allocations: 422.2 kB / 1.112 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.9596, allocations: 0.5451 MB / 1.113 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001017/0.9606, allocations: 0.8116 MB / 1.114 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003777/0.961, allocations: 200.6 kB / 1.114 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.9626, allocations: 304.6 kB / 1.114 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.963, allocations: 191.2 kB / 1.114 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.963, allocations: 15.94 kB / 1.114 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.9643, allocations: 0.6234 MB / 1.115 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.9644, allocations: 83.78 kB / 1.115 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.9646, allocations: 153 kB / 1.115 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008576/0.9655, allocations: 0.5686 MB / 1.116 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9655, allocations: 0 / 1.116 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9655, allocations: 0 / 1.116 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.994e-06/0.9655, allocations: 0 / 1.116 GB, free: 10.12 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.00116/0.9667, allocations: 0.6039 MB / 1.116 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.9668, allocations: 12.03 kB / 1.116 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005728/0.9673, allocations: 71.52 kB / 1.116 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.9677, allocations: 285.4 kB / 1.117 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.9678, allocations: 16.44 kB / 1.117 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.9678, allocations: 24 kB / 1.117 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/0.9685, allocations: 332.1 kB / 1.117 GB, free: 8.691 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.9685, allocations: 0 / 1.117 GB, free: 8.691 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.9686, allocations: 16 kB / 1.117 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.9686, allocations: 7.938 kB / 1.117 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007104/0.9693, allocations: 280.6 kB / 1.117 GB, free: 8.395 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.00173/0.9711, allocations: 1.268 MB / 1.119 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/0.9716, allocations: 186.5 kB / 1.119 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.9719, allocations: 141.9 kB / 1.119 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006178/0.9725, allocations: 311.2 kB / 1.119 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.9726, allocations: 46.5 kB / 1.119 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.9726, allocations: 7.875 kB / 1.119 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.00239/0.975, allocations: 0.6245 MB / 1.12 GB, free: 5.609 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.975, allocations: 59.34 kB / 1.12 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.9753, allocations: 259 kB / 1.12 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.9754, allocations: 25.7 kB / 1.12 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.9755, allocations: 168.2 kB / 1.12 GB, free: 5.082 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.9756, allocations: 43.36 kB / 1.12 GB, free: 5.039 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.9757, allocations: 25.7 kB / 1.12 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.9758, allocations: 330.8 kB / 1.121 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/0.9762, allocations: 111.9 kB / 1.121 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.9766, allocations: 149.8 kB / 1.121 GB, free: 4.406 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006487/0.9772, allocations: 274.8 kB / 1.121 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9773, allocations: 4 kB / 1.121 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001255/0.9785, allocations: 385.8 kB / 1.122 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.9786, allocations: 7.984 kB / 1.122 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.9786, allocations: 4 kB / 1.122 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006309/0.9792, allocations: 84.89 kB / 1.122 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.9795, allocations: 51.91 kB / 1.122 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.982, allocations: 1.619 MB / 1.123 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.9823, allocations: 39.89 kB / 1.123 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.9823, allocations: 15.92 kB / 1.123 GB, free: 1.777 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.0002126/0.9825, allocations: 145.8 kB / 1.124 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.9826, allocations: 23.72 kB / 1.124 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.9839, allocations: 408.8 kB / 1.124 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.9839, allocations: 0 / 1.124 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.9839, allocations: 4 kB / 1.124 GB, free: 1.188 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.9839, allocations: 0 / 1.124 GB, free: 1.188 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.9857, allocations: 0.8059 MB / 1.125 GB, free: 320 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.9857, allocations: 4 kB / 1.125 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.9859, allocations: 39.97 kB / 1.125 GB, free: 276 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005126/0.9864, allocations: 88.86 kB / 1.125 GB, free: 184 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.9864, allocations: 4 kB / 1.125 GB, free: 180 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/0.9886, allocations: 1.641 MB / 1.127 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9886, allocations: 3.938 kB / 1.127 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.9899, allocations: 488.6 kB / 1.127 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.9901, allocations: 120.8 kB / 1.127 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.9901, allocations: 8 kB / 1.127 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.9904, allocations: 27.97 kB / 1.127 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.671e-05/0.9905, allocations: 23.97 kB / 1.127 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.9905, allocations: 4 kB / 1.127 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001902/0.9907, allocations: 190 kB / 1.127 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9907, allocations: 0 / 1.127 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004656/0.9912, allocations: 87.78 kB / 1.127 GB, free: 13.42 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.0004317/0.9917, allocations: 154.5 kB / 1.128 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.9927, allocations: 394.6 kB / 1.128 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9928, allocations: 0 / 1.128 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006231/0.9934, allocations: 278.7 kB / 1.128 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008359/0.9942, allocations: 128.9 kB / 1.128 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009646/0.9952, allocations: 0.6019 MB / 1.129 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.9956, allocations: 0.7752 MB / 1.13 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002186/0.9958, allocations: 58.25 kB / 1.13 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.236e-05/0.9959, allocations: 19.44 kB / 1.13 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of SimCode: time 2.1e-07/0.9959, allocations: 0 / 1.13 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of Templates: time 0.01114/1.007, allocations: 5.489 MB / 1.135 GB, free: 5.531 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