Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 111.6 kB / 18.34 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 188.5 kB / 21.51 MB, free: 0.8945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.647/1.647, allocations: 225.6 MB / 250.1 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.047/3.047, allocations: 496.2 MB / 0.7826 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 5.463e-05/5.463e-05, allocations: 8.469 kB / 1.137 GB, free: 12.54 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003052/0.003107, allocations: 1.518 MB / 1.138 GB, free: 11.01 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007987/0.003906, allocations: 431 kB / 1.138 GB, free: 10.58 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.003947, allocations: 0 / 1.138 GB, free: 10.58 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.959e-05/0.003977, allocations: 3.938 kB / 1.138 GB, free: 10.58 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.561e-05/0.004063, allocations: 15.86 kB / 1.138 GB, free: 10.56 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.004249, allocations: 7.984 kB / 1.138 GB, free: 10.55 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.004381, allocations: 67.77 kB / 1.138 GB, free: 10.49 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.004488, allocations: 8 kB / 1.139 GB, free: 10.48 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.004612, allocations: 23.86 kB / 1.139 GB, free: 10.46 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.312e-05/0.004685, allocations: 27.84 kB / 1.139 GB, free: 10.43 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.004704, allocations: 4 kB / 1.139 GB, free: 10.43 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.004717, allocations: 4 kB / 1.139 GB, free: 10.42 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.0001106/0.004828, allocations: 83.05 kB / 1.139 GB, free: 10.34 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 3.461e-05/0.004863, allocations: 51.22 kB / 1.139 GB, free: 10.29 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.004888, allocations: 11.94 kB / 1.139 GB, free: 10.28 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.831e-05/0.004906, allocations: 4 kB / 1.139 GB, free: 10.27 MB / 0.92 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 Bindings: time 0.000468/0.005374, allocations: 316.5 kB / 1.139 GB, free: 9.848 MB / 0.92 GB Notification: Performance of FunctionAlias: time 0.0001232/0.005497, allocations: 38.66 kB / 1.139 GB, free: 9.812 MB / 0.92 GB Notification: Performance of Early Inline: time 0.0001425/0.00564, allocations: 120.4 kB / 1.139 GB, free: 9.668 MB / 0.92 GB Notification: Performance of Simplify 1: time 6.523e-05/0.005705, allocations: 48.42 kB / 1.139 GB, free: 9.594 MB / 0.92 GB Notification: Performance of Alias: time 0.0004178/0.006123, allocations: 165.1 kB / 1.139 GB, free: 9.367 MB / 0.92 GB Notification: Performance of Simplify 2: time 5.453e-05/0.006177, allocations: 44.42 kB / 1.139 GB, free: 9.297 MB / 0.92 GB Notification: Performance of Remove Stream: time 4.895e-05/0.006226, allocations: 48.48 kB / 1.139 GB, free: 9.223 MB / 0.92 GB Notification: Performance of Detect States: time 0.0001537/0.00638, allocations: 84.59 kB / 1.14 GB, free: 9.102 MB / 0.92 GB Notification: Performance of Events: time 6.985e-05/0.00645, allocations: 23.97 kB / 1.14 GB, free: 9.078 MB / 0.92 GB Notification: Performance of Partitioning: time 8.703e-05/0.006537, allocations: 48.09 kB / 1.14 GB, free: 9.023 MB / 0.92 GB Notification: Performance of Causalize: time 0.000232/0.006769, allocations: 148 kB / 1.14 GB, free: 8.871 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 7.944e-05/0.006848, allocations: 75.92 kB / 1.14 GB, free: 8.797 MB / 0.92 GB Notification: Performance of Simplify: time 0.000139/0.006987, allocations: 100.7 kB / 1.14 GB, free: 8.648 MB / 0.92 GB Notification: Performance of Inline: time 0.0001054/0.007093, allocations: 103.9 kB / 1.14 GB, free: 8.543 MB / 0.92 GB Notification: Performance of Partitioning: time 1.692e-05/0.00711, allocations: 12.12 kB / 1.14 GB, free: 8.523 MB / 0.92 GB Notification: Performance of Cleanup: time 3.06e-05/0.00714, allocations: 31.97 kB / 1.14 GB, free: 8.492 MB / 0.92 GB Notification: Performance of Causalize: time 0.0002189/0.007359, allocations: 148.5 kB / 1.14 GB, free: 8.34 MB / 0.92 GB Notification: Performance of Tearing: time 1.063e-05/0.00737, allocations: 0 / 1.14 GB, free: 8.34 MB / 0.92 GB Notification: Performance of Initialization: time 2.6e-07/0.00737, allocations: 0 / 1.14 GB, free: 8.34 MB / 0.92 GB Notification: Performance of Remove Dummies: time 3.907e-06/0.007374, allocations: 0 / 1.14 GB, free: 8.34 MB / 0.92 GB Notification: Performance of Tearing: time 2.816e-06/0.007377, allocations: 7.938 kB / 1.14 GB, free: 8.332 MB / 0.92 GB Notification: Performance of Categorize: time 8.065e-06/0.007385, allocations: 8 kB / 1.14 GB, free: 8.324 MB / 0.92 GB Notification: Performance of Solve: time 4.953e-05/0.007434, allocations: 15.98 kB / 1.14 GB, free: 8.309 MB / 0.92 GB Notification: Performance of Jacobian: time 4.678e-06/0.007439, allocations: 0 / 1.14 GB, free: 8.309 MB / 0.92 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: ........... 7 (scalar:7, 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: ........... 7 (scalar:7, 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 4.591e-05/0.007485, allocations: 25.08 kB / 1.14 GB, free: 8.289 MB / 0.92 GB Notification: Performance of SimCode: time 0.0007957/0.008281, allocations: 0.8371 MB / 1.141 GB, free: 7.426 MB / 0.92 GB Notification: Performance of Templates: time 0.002938/0.01122, allocations: 468.3 kB / 1.142 GB, free: 6.973 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.918025343678892]