Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 116.1 kB / 16.48 MB, free: 5.969 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.001443/0.001443, allocations: 199.7 kB / 17.42 MB, free: 5.488 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.3/1.3, allocations: 225.6 MB / 243.8 MB, free: 14.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.524/2.524, allocations: 476.7 MB / 0.7552 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.819e-05, allocations: 9.172 kB / 1.097 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2062/0.2062, allocations: 182.4 MB / 1.275 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005941/0.2122, allocations: 4.466 MB / 1.279 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003605/0.2125, allocations: 19.88 kB / 1.279 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000623/0.2132, allocations: 254 kB / 1.279 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.2148, allocations: 0.7971 MB / 1.28 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003146/0.2179, allocations: 1.553 MB / 1.282 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001451/0.2194, allocations: 1.332 MB / 1.283 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005693/0.22, allocations: 397.3 kB / 1.283 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008871/0.2209, allocations: 0.6307 MB / 1.284 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000497/0.2213, allocations: 438.3 kB / 1.284 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.966e-05/0.2214, allocations: 52 kB / 1.284 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.2238, allocations: 1.574 MB / 1.286 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of combineBinaries: time 0.0009318/0.2247, allocations: 1.036 MB / 1.287 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of replaceArrayConstructors: time 0.0005141/0.2252, allocations: 0.6712 MB / 1.288 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.2253, allocations: 95.69 kB / 1.288 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of FrontEnd: time 7.41e-05/0.2254, allocations: 15.94 kB / 1.288 GB, free: 1.805 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 (94) * Number of variables: 100 (93) Notification: Performance of Bindings: time 0.002314/0.2277, allocations: 2.207 MB / 1.29 GB, free: 15.46 MB / 1.014 GB Notification: Performance of FunctionAlias: time 0.0001912/0.2279, allocations: 183.8 kB / 1.29 GB, free: 15.28 MB / 1.014 GB Notification: Performance of Early Inline: time 0.001891/0.2298, allocations: 1.623 MB / 1.292 GB, free: 13.63 MB / 1.014 GB Notification: Performance of Simplify 1: time 0.0003512/0.2301, allocations: 283.3 kB / 1.292 GB, free: 13.32 MB / 1.014 GB Notification: Performance of Alias: time 0.002185/0.2323, allocations: 1.618 MB / 1.293 GB, free: 11.46 MB / 1.014 GB Notification: Performance of Simplify 2: time 0.0002968/0.2326, allocations: 254.1 kB / 1.294 GB, free: 11.18 MB / 1.014 GB Notification: Performance of Remove Stream: time 0.0002298/0.2329, allocations: 202.2 kB / 1.294 GB, free: 10.96 MB / 1.014 GB Notification: Performance of Detect States: time 0.0004805/0.2333, allocations: 380.4 kB / 1.294 GB, free: 10.55 MB / 1.014 GB Notification: Performance of Events: time 0.0003925/0.2337, allocations: 283.5 kB / 1.295 GB, free: 10.28 MB / 1.014 GB Notification: Performance of Partitioning: time 0.0006397/0.2344, allocations: 0.5555 MB / 1.295 GB, free: 9.672 MB / 1.014 GB Notification: Performance of Causalize: time 0.002131/0.2365, allocations: 1.669 MB / 1.297 GB, free: 7.957 MB / 1.014 GB Notification: Performance of After Index Reduction Inline: time 0.0009742/0.2375, allocations: 0.8938 MB / 1.298 GB, free: 7.062 MB / 1.014 GB Notification: Performance of Simplify: time 0.0009094/0.2384, allocations: 0.6806 MB / 1.298 GB, free: 6.332 MB / 1.014 GB Notification: Performance of Inline: time 0.001721/0.2401, allocations: 1.612 MB / 1.3 GB, free: 4.711 MB / 1.014 GB Notification: Performance of Partitioning: time 6.092e-05/0.2402, allocations: 39.61 kB / 1.3 GB, free: 4.668 MB / 1.014 GB Notification: Performance of Cleanup: time 0.0003333/0.2405, allocations: 359.5 kB / 1.3 GB, free: 4.316 MB / 1.014 GB Notification: Performance of Causalize: time 0.002702/0.2432, allocations: 2.071 MB / 1.302 GB, free: 2.258 MB / 1.014 GB Notification: Performance of Tearing: time 1.284e-05/0.2432, allocations: 0 / 1.302 GB, free: 2.258 MB / 1.014 GB Notification: Performance of Initialization: time 3.21e-07/0.2432, allocations: 0 / 1.302 GB, free: 2.258 MB / 1.014 GB Notification: Performance of Tearing: time 7.114e-06/0.2432, allocations: 3.938 kB / 1.302 GB, free: 2.254 MB / 1.014 GB Notification: Performance of Categorize: time 1.481e-05/0.2432, allocations: 4 kB / 1.302 GB, free: 2.25 MB / 1.014 GB Notification: Performance of Solve: time 0.00058/0.2438, allocations: 338.8 kB / 1.303 GB, free: 1.914 MB / 1.014 GB Notification: Performance of Jacobian: time 0.0006415/0.2445, allocations: 0.5619 MB / 1.303 GB, free: 1.312 MB / 1.014 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 5 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {temDyn.T, temDynLoss.T} * Number of discrete states: .................... 4 (4) {m_flow2.T_start, m_flow2.count, m_flow1.T_start, m_flow1.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 17 (17) {$SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 67 (scalar:63, array:4, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 91 (scalar:83, array:8, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001084/0.2446, allocations: 61.34 kB / 1.303 GB, free: 1.266 MB / 1.014 GB Notification: Performance of SimCode: time 0.00621/0.2508, allocations: 4.053 MB / 1.307 GB, free: 13.16 MB / 1.029 GB Notification: Performance of Templates: time 0.01737/0.2681, allocations: 10.3 MB / 1.317 GB, free: 2.863 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,masFloRat.T,temSteSta.T,temDyn.T,temDynLoss.T,masFloRat.ports[1].m_flow,senRelTem.T_rel Variables in the result:TDryBul.duration,TDryBul.height,TDryBul.offset,TDryBul.startTime,add_m_flow.k1,add_m_flow.k2,amb.T,amb.T_in_internal,amb.X[1],amb.X[2],amb.X_in_internal[1],amb.X_in_internal[2],amb.Xi_in_internal[1],amb.flowDirection,amb.nPorts,amb.p,amb.p_in_internal,amb.use_C_in,amb.use_T_in,amb.use_X_in,amb.use_Xi_in,amb.use_p_in,amb.verifyInputs,m_flow1.amplitude,m_flow1.nperiod,m_flow1.offset,m_flow1.period,m_flow1.startTime,m_flow1.width,m_flow2.amplitude,m_flow2.nperiod,m_flow2.offset,m_flow2.period,m_flow2.startTime,m_flow2.width,masFloRat.T,masFloRat.X[1],masFloRat.X[2],masFloRat.X_in_internal[1],masFloRat.X_in_internal[2],masFloRat.Xi_in_internal[1],masFloRat.flowDirection,masFloRat.m_flow,masFloRat.nPorts,masFloRat.ports[1].m_flow,masFloRat.use_C_in,masFloRat.use_T_in,masFloRat.use_X_in,masFloRat.use_Xi_in,masFloRat.use_m_flow_in,masFloRat.verifyInputs,senRelTem.T_rel,senRelTem.port_a.h_outflow,senRelTem.port_a.m_flow,senRelTem.port_b.h_outflow,senRelTem.port_b.m_flow,sin.T,sin.T_in_internal,sin.X[1],sin.X[2],sin.X_in_internal[1],sin.X_in_internal[2],sin.Xi_in_internal[1],sin.flowDirection,sin.nPorts,sin.p,sin.p_in_internal,sin.use_C_in,sin.use_T_in,sin.use_X_in,sin.use_Xi_in,sin.use_p_in,sin.verifyInputs,temDyn.T,temDyn.TAmb,temDyn.T_start,temDyn.allowFlowReversal,temDyn.dynamic,temDyn.initType,temDyn.m_flow_nominal,temDyn.m_flow_small,temDyn.ratTau,temDyn.tau,temDyn.tauHeaTra,temDyn.tauHeaTraInv,temDyn.tauInv,temDyn.transferHeat,temDynLoss.T,temDynLoss.TAmb,temDynLoss.T_start,temDynLoss.allowFlowReversal,temDynLoss.dynamic,temDynLoss.initType,temDynLoss.m_flow_nominal,temDynLoss.m_flow_small,temDynLoss.ratTau,temDynLoss.tau,temDynLoss.tauHeaTra,temDynLoss.tauHeaTraInv,temDynLoss.tauInv,temDynLoss.transferHeat,temSteSta.T,temSteSta.TAmb,temSteSta.T_start,temSteSta.allowFlowReversal,temSteSta.dynamic,temSteSta.initType,temSteSta.k,temSteSta.mNor_flow,temSteSta.m_flow_nominal,temSteSta.m_flow_small,temSteSta.ratTau,temSteSta.tau,temSteSta.tauHeaTra,temSteSta.tauHeaTraInv,temSteSta.tauInv,temSteSta.transferHeat,time