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) 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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 109.2 kB / 16.42 MB, free: 6.516 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.001072/0.001072, allocations: 182 kB / 17.36 MB, free: 5.746 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.112/1.112, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.149/2.149, allocations: 461.9 MB / 0.7354 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088e-05/1.089e-05, allocations: 6.219 kB / 1.055 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001884/0.001902, allocations: 1.51 MB / 1.056 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005407/0.002455, allocations: 422.9 kB / 1.057 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.002497, allocations: 0 / 1.057 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.002525, allocations: 3.938 kB / 1.057 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.875e-05/0.002586, allocations: 15.84 kB / 1.057 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.002715, allocations: 15.98 kB / 1.057 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.929e-05/0.002801, allocations: 59.72 kB / 1.057 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.179e-05/0.002888, allocations: 15.98 kB / 1.057 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.032e-05/0.002975, allocations: 27.86 kB / 1.057 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.003034, allocations: 23.91 kB / 1.057 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.003055, allocations: 4 kB / 1.057 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.003072, allocations: 8 kB / 1.057 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of combineBinaries: time 7.299e-05/0.003149, allocations: 79.02 kB / 1.057 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 2.159e-05/0.003175, allocations: 47.31 kB / 1.057 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.54e-05/0.003195, allocations: 8 kB / 1.057 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.383e-05/0.003213, allocations: 0 / 1.057 GB, free: 5.527 MB / 0.8262 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.0003128/0.003529, allocations: 335.7 kB / 1.057 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 6.964e-05/0.003604, allocations: 27.94 kB / 1.057 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001108/0.003721, allocations: 128.3 kB / 1.057 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simplify1: time 2.011e-05/0.003746, allocations: 11.98 kB / 1.057 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of Alias: time 0.0002547/0.004005, allocations: 169.1 kB / 1.057 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of simplify2: time 1.498e-05/0.004029, allocations: 19.98 kB / 1.057 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of Events: time 4.76e-05/0.004081, allocations: 23.92 kB / 1.057 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of Detect States: time 5.849e-05/0.004146, allocations: 52.05 kB / 1.058 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of Partitioning: time 5.31e-05/0.004204, allocations: 48.11 kB / 1.058 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001559/0.004365, allocations: 136 kB / 1.058 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001012/0.004473, allocations: 132.3 kB / 1.058 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of Inline: time 0.0001474/0.004626, allocations: 196.2 kB / 1.058 GB, free: 4 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.372e-05/0.004645, allocations: 20.12 kB / 1.058 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of Cleanup: time 1.006e-05/0.004659, allocations: 7.984 kB / 1.058 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001544/0.004818, allocations: 144.1 kB / 1.058 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of Tearing: time 8.026e-06/0.004833, allocations: 3.938 kB / 1.058 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of Initialization: time 1.623e-06/0.004839, allocations: 4 kB / 1.058 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of Tearing: time 1.173e-06/0.004844, allocations: 0 / 1.058 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of Categorize: time 5.32e-06/0.004852, allocations: 0 / 1.058 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of Solve: time 5.079e-05/0.004907, allocations: 23.97 kB / 1.058 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of Jacobian: time 4.188e-06/0.004916, allocations: 0.9375 kB / 1.058 GB, free: 3.785 MB / 0.8262 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {$TEV_1, $TEV_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 (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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.318e-05/0.004942, allocations: 22.72 kB / 1.058 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of SimCode: time 0.000409/0.005357, allocations: 0.8295 MB / 1.059 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of Templates: time 0.001934/0.007301, allocations: 465 kB / 1.06 GB, free: 2.469 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) 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) Reference file matches