Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 118.4 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.001389/0.001389, allocations: 196.5 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.321/1.321, allocations: 225.6 MB / 243.8 MB, free: 14.06 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.506/2.506, allocations: 476.7 MB / 0.7552 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/1.974e-05, allocations: 7.625 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1895/0.1895, allocations: 168.1 MB / 1.261 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007766/0.1972, allocations: 6.564 MB / 1.267 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003856/0.1976, allocations: 11.94 kB / 1.267 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005281/0.1982, allocations: 178.7 kB / 1.267 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.2002, allocations: 0.8713 MB / 1.268 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008399/0.201, allocations: 333.9 kB / 1.268 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009673/0.202, allocations: 0.7945 MB / 1.269 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004445/0.2024, allocations: 250.6 kB / 1.27 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.2035, allocations: 0.5916 MB / 1.27 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004393/0.204, allocations: 310.9 kB / 1.27 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.204, allocations: 20 kB / 1.27 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005803/0.2046, allocations: 355.1 kB / 1.271 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of combineBinaries: time 0.0005207/0.2051, allocations: 0.5876 MB / 1.271 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of replaceArrayConstructors: time 0.0002952/0.2054, allocations: 410.8 kB / 1.272 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.627e-05/0.2055, allocations: 63.81 kB / 1.272 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of FrontEnd: time 5.078e-05/0.2055, allocations: 11.94 kB / 1.272 GB, free: 2.207 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 (61) * Number of variables: 63 (61) Notification: Performance of Bindings: time 0.001372/0.2069, allocations: 1.3 MB / 1.273 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of FunctionAlias: time 0.0001226/0.207, allocations: 106.4 kB / 1.273 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of Early Inline: time 0.0007771/0.2078, allocations: 0.6825 MB / 1.274 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of Simplify 1: time 0.0002206/0.208, allocations: 146.3 kB / 1.274 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of Alias: time 0.002041/0.2101, allocations: 1.224 MB / 1.275 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of Simplify 2: time 0.0001362/0.2102, allocations: 104.6 kB / 1.275 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of Remove Stream: time 0.0001036/0.2103, allocations: 84.36 kB / 1.275 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of Detect States: time 0.0002263/0.2105, allocations: 162.8 kB / 1.275 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of Events: time 0.0001704/0.2107, allocations: 104.6 kB / 1.276 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of Partitioning: time 0.0002882/0.211, allocations: 233.5 kB / 1.276 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of Causalize: time 0.0009719/0.212, allocations: 0.7454 MB / 1.277 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of After Index Reduction Inline: time 0.0003618/0.2123, allocations: 339.7 kB / 1.277 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of Simplify: time 0.0004591/0.2128, allocations: 320.3 kB / 1.277 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of Inline: time 0.0006615/0.2135, allocations: 0.6021 MB / 1.278 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of Partitioning: time 4.323e-05/0.2135, allocations: 26.31 kB / 1.278 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of Cleanup: time 0.0001451/0.2136, allocations: 127.9 kB / 1.278 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of Causalize: time 0.001287/0.2149, allocations: 0.9301 MB / 1.279 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of Tearing: time 1.055e-05/0.2149, allocations: 0 / 1.279 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of Initialization: time 2.675e-06/0.2149, allocations: 4 kB / 1.279 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of Tearing: time 4.638e-06/0.2149, allocations: 0 / 1.279 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of Categorize: time 1.067e-05/0.215, allocations: 0 / 1.279 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of Solve: time 0.0002872/0.2152, allocations: 149.5 kB / 1.279 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of Jacobian: time 4.668e-06/0.2152, allocations: 0 / 1.279 GB, free: 10.26 MB / 0.9981 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 8 (8) {$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: ........... 35 (scalar:33, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0generic: 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: ........... 44 (scalar:38, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.695e-05/0.2153, allocations: 37.33 kB / 1.279 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of SimCode: time 0.002617/0.2179, allocations: 1.957 MB / 1.281 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of Templates: time 0.007993/0.2259, allocations: 3.349 MB / 1.284 GB, free: 4.902 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches