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.00102/0.00102, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001332/0.001332, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.441 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.423/2.423, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003372, allocations: 8 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7607/0.761, allocations: 142.4 MB / 0.9544 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1882/0.9492, allocations: 146.6 MB / 1.098 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00512/0.9544, allocations: 3.267 MB / 1.101 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003872/0.9548, allocations: 15.88 kB / 1.101 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004712/0.9553, allocations: 83.36 kB / 1.101 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.9565, allocations: 342.3 kB / 1.101 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.9581, allocations: 470.7 kB / 1.102 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001019/0.9591, allocations: 0.7024 MB / 1.102 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004438/0.9596, allocations: 172.4 kB / 1.103 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008548/0.9605, allocations: 298.9 kB / 1.103 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.9609, allocations: 183.3 kB / 1.103 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.126e-05/0.9609, allocations: 8 kB / 1.103 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009229/0.9619, allocations: 323.3 kB / 1.103 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.962, allocations: 83.72 kB / 1.103 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.9622, allocations: 69.58 kB / 1.103 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006491/0.9628, allocations: 367.1 kB / 1.104 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.9628, allocations: 0 / 1.104 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9628, allocations: 4 kB / 1.104 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.9629, allocations: 0 / 1.104 GB, free: 6.137 MB / 0.8575 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.001358/0.9642, allocations: 0.6 MB / 1.104 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.9643, allocations: 12.03 kB / 1.104 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006106/0.9649, allocations: 75.53 kB / 1.104 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.9654, allocations: 277.6 kB / 1.105 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.9654, allocations: 12.44 kB / 1.105 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.9654, allocations: 28 kB / 1.105 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006616/0.9661, allocations: 328.1 kB / 1.105 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.9661, allocations: 0 / 1.105 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.9662, allocations: 8 kB / 1.105 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.9662, allocations: 4 kB / 1.105 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006434/0.9668, allocations: 276.9 kB / 1.105 GB, free: 4.434 MB / 0.8575 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.001793/0.9686, allocations: 1.264 MB / 1.107 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/0.9691, allocations: 194.5 kB / 1.107 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.9694, allocations: 144.8 kB / 1.107 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006151/0.9701, allocations: 319.2 kB / 1.107 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.9701, allocations: 30.56 kB / 1.107 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 2.235e-06/0.9701, allocations: 4 kB / 1.107 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.002203/0.9723, allocations: 0.6277 MB / 1.108 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.9724, allocations: 51.41 kB / 1.108 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.9727, allocations: 255 kB / 1.108 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.9727, allocations: 29.7 kB / 1.108 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.9728, allocations: 168.2 kB / 1.108 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.9729, allocations: 39.36 kB / 1.108 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.9729, allocations: 12 kB / 1.108 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.973, allocations: 334.8 kB / 1.109 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.9733, allocations: 107.9 kB / 1.109 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.9736, allocations: 158.1 kB / 1.109 GB, free: 480 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.9739, allocations: 120.6 kB / 1.109 GB, free: 360 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.974, allocations: 7.938 kB / 1.109 GB, free: 352 kB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00113/0.9751, allocations: 378.6 kB / 1.109 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.9751, allocations: 4 kB / 1.109 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.9751, allocations: 7.984 kB / 1.109 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005547/0.9757, allocations: 88.89 kB / 1.11 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.976, allocations: 55.91 kB / 1.11 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.9781, allocations: 1.619 MB / 1.111 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.9784, allocations: 39.81 kB / 1.111 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.9785, allocations: 8 kB / 1.111 GB, free: 14.01 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001952/0.9787, allocations: 146.4 kB / 1.111 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/0.9787, allocations: 23.72 kB / 1.111 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.9799, allocations: 399.8 kB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.9799, allocations: 4 kB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.9799, allocations: 0 / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9799, allocations: 0 / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.9816, allocations: 0.8098 MB / 1.113 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.9817, allocations: 0 / 1.113 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.9819, allocations: 43.91 kB / 1.113 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004732/0.9823, allocations: 92.84 kB / 1.113 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.9824, allocations: 4 kB / 1.113 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.9843, allocations: 1.633 MB / 1.114 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.9843, allocations: 0 / 1.114 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.9855, allocations: 496 kB / 1.115 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.9856, allocations: 120.9 kB / 1.115 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.9857, allocations: 7.938 kB / 1.115 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.986, allocations: 39.95 kB / 1.115 GB, free: 9.938 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/0.986, allocations: 15.97 kB / 1.115 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.9861, allocations: 8 kB / 1.115 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002052/0.9863, allocations: 186 kB / 1.115 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9863, allocations: 0 / 1.115 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004669/0.9868, allocations: 83.83 kB / 1.115 GB, free: 9.652 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004687/0.9872, allocations: 167.5 kB / 1.115 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009868/0.9882, allocations: 386.6 kB / 1.116 GB, free: 9.102 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9883, allocations: 3.938 kB / 1.116 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005716/0.9888, allocations: 282.6 kB / 1.116 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007579/0.9896, allocations: 121.9 kB / 1.116 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.9907, allocations: 0.6178 MB / 1.117 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.9911, allocations: 0.7752 MB / 1.118 GB, free: 7.242 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002569/0.9914, allocations: 66.25 kB / 1.118 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.9914, allocations: 19.44 kB / 1.118 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of SimCode: time 8.42e-07/0.9914, allocations: 0 / 1.118 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of Templates: time 0.01133/1.003, allocations: 5.334 MB / 1.123 GB, free: 1.891 MB / 0.8731 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