Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 96.42 kB / 19.71 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 210.9 kB / 23.01 MB, free: 4.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.98/2.98, allocations: 0.49 GB / 0.7958 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.207e-05, allocations: 2.281 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002203/0.002225, allocations: 1.53 MB / 1.157 GB, free: 24.23 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0007104/0.002936, allocations: 470.1 kB / 1.157 GB, free: 23.93 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.002994, allocations: 5.125 kB / 1.157 GB, free: 23.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/0.003018, allocations: 7.656 kB / 1.157 GB, free: 23.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.274e-05/0.003071, allocations: 16.5 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.003275, allocations: 27.06 kB / 1.157 GB, free: 23.89 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.003386, allocations: 85.61 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.217e-05/0.003478, allocations: 5.438 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.003619, allocations: 46.78 kB / 1.157 GB, free: 23.84 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.003667, allocations: 25.58 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.003681, allocations: 7.609 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 4.038e-05/0.003722, allocations: 5.312 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of combineBinaries: time 7.609e-05/0.003798, allocations: 96.89 kB / 1.157 GB, free: 23.76 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.683e-05/0.003825, allocations: 72.61 kB / 1.157 GB, free: 23.71 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.224e-05/0.003837, allocations: 3.125 kB / 1.157 GB, free: 23.71 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.131e-05/0.003848, allocations: 3.438 kB / 1.157 GB, free: 23.71 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.0003516/0.0042, allocations: 383.2 kB / 1.158 GB, free: 23.32 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 5.213e-05/0.004252, allocations: 43.19 kB / 1.158 GB, free: 23.28 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001629/0.004415, allocations: 164.7 kB / 1.158 GB, free: 23.16 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 6.629e-05/0.004481, allocations: 77.95 kB / 1.158 GB, free: 23.07 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003317/0.004813, allocations: 196.8 kB / 1.158 GB, free: 22.88 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 4.927e-05/0.004862, allocations: 84.55 kB / 1.158 GB, free: 22.77 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.168e-05/0.004884, allocations: 45.06 kB / 1.158 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 6.099e-05/0.004945, allocations: 96.45 kB / 1.158 GB, free: 22.58 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 5.284e-05/0.004998, allocations: 28.89 kB / 1.158 GB, free: 22.57 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.285e-05/0.005081, allocations: 54.69 kB / 1.158 GB, free: 22.54 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001191/0.0052, allocations: 85.75 kB / 1.159 GB, free: 22.5 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 7.171e-05/0.005271, allocations: 96.31 kB / 1.159 GB, free: 22.46 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001174/0.005389, allocations: 129 kB / 1.159 GB, free: 22.3 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001296/0.005518, allocations: 170.7 kB / 1.159 GB, free: 22.21 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 7.414e-06/0.005526, allocations: 10.78 kB / 1.159 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 2.363e-05/0.005549, allocations: 24 kB / 1.159 GB, free: 22.19 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0001414/0.005691, allocations: 97.81 kB / 1.159 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 2.189e-05/0.005713, allocations: 1.594 kB / 1.159 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.005713, allocations: 0 / 1.159 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.837e-06/0.005717, allocations: 0.9062 kB / 1.159 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.625e-06/0.00572, allocations: 5.219 kB / 1.159 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.352e-06/0.005726, allocations: 1.641 kB / 1.159 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001141/0.00584, allocations: 77.97 kB / 1.159 GB, free: 22.12 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.823e-06/0.005847, allocations: 0 / 1.159 GB, free: 22.12 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * 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: ................. 2 (2) {$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: ........... 5 (scalar:5, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 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: ........... 5 (scalar:5, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.139e-05/0.005878, allocations: 34.11 kB / 1.159 GB, free: 22.09 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003864/0.006265, allocations: 239.6 kB / 1.159 GB, free: 21.92 MB / 0.9044 GB Notification: Performance of Templates: time 0.002667/0.008931, allocations: 0.4992 MB / 1.16 GB, free: 21.84 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.900160173885524]