Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_11_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_11_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.000968/0.000968, allocations: 111.5 kB / 16.42 MB, free: 6.523 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.000897/0.0008972, 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.177/1.177, allocations: 222.9 MB / 241 MB, free: 15.16 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.305/2.305, allocations: 469.8 MB / 0.7431 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.09e-05, allocations: 4.109 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002033/0.002063, allocations: 1.505 MB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005859/0.002661, allocations: 422.9 kB / 1.068 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.002709, allocations: 0 / 1.068 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.002741, allocations: 3.938 kB / 1.068 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.116e-05/0.002797, allocations: 11.88 kB / 1.068 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.002953, allocations: 15.97 kB / 1.068 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.338e-05/0.003055, allocations: 67.7 kB / 1.068 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.028e-05/0.003143, allocations: 8 kB / 1.068 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.187e-05/0.00323, allocations: 19.92 kB / 1.068 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.003298, allocations: 27.91 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.00332, allocations: 4 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.003336, allocations: 4 kB / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of combineBinaries: time 7.767e-05/0.003418, allocations: 79 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.527e-05/0.003448, allocations: 55.22 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.548e-05/0.003468, allocations: 4 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.28e-05/0.003484, allocations: 0 / 1.068 GB, free: 11.39 MB / 0.8419 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.000313/0.003801, allocations: 291.8 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 8.672e-05/0.003894, allocations: 35.86 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001022/0.004003, allocations: 112.3 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of simplify1: time 4.452e-05/0.004053, allocations: 52.34 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of Alias: time 0.0002496/0.004307, allocations: 133.2 kB / 1.069 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of simplify2: time 3.588e-05/0.004352, allocations: 48.34 kB / 1.069 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of Detect States: time 6.256e-05/0.004427, allocations: 50.45 kB / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of Events: time 5.29e-05/0.004486, allocations: 27.92 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of Partitioning: time 4.675e-05/0.004539, allocations: 32.11 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001439/0.004688, allocations: 112 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 8.391e-05/0.004779, allocations: 108.3 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of Inline: time 0.0001311/0.004915, allocations: 160.3 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.296e-05/0.004934, allocations: 12.12 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of Cleanup: time 2.253e-05/0.004961, allocations: 23.97 kB / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001484/0.005114, allocations: 132.4 kB / 1.069 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of Tearing: time 8.216e-06/0.005131, allocations: 0 / 1.069 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of Initialization: time 1.723e-06/0.005137, allocations: 4 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of Tearing: time 2.144e-06/0.005143, allocations: 4 kB / 1.069 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of Categorize: time 6.222e-06/0.005153, allocations: 0 / 1.069 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of Solve: time 4.233e-05/0.005198, allocations: 15.98 kB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.685e-06/0.005206, allocations: 0 / 1.069 GB, free: 9.727 MB / 0.8419 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 3.424e-05/0.005244, allocations: 29.88 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0004157/0.005666, allocations: 0.8258 MB / 1.07 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of Templates: time 0.002074/0.007748, allocations: 457.8 kB / 1.071 GB, free: 8.402 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches