Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001054/0.001054, allocations: 111.2 kB / 16.43 MB, free: 6.461 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.001046/0.001046, allocations: 185.5 kB / 17.36 MB, free: 5.73 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.102/1.102, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.872/1.872, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.708e-06/9.728e-06, allocations: 2.281 kB / 0.9514 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001885/0.001902, allocations: 1.513 MB / 0.9529 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005081/0.00242, allocations: 423 kB / 0.9533 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.00246, allocations: 0 / 0.9533 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.002488, allocations: 3.938 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.84e-05/0.002541, allocations: 11.88 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.002672, allocations: 19.97 kB / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.626e-05/0.002755, allocations: 59.7 kB / 0.9534 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.347e-05/0.002834, allocations: 12 kB / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.207e-05/0.002911, allocations: 19.92 kB / 0.9535 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.174e-05/0.00297, allocations: 23.92 kB / 0.9535 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.002991, allocations: 8 kB / 0.9535 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.003004, allocations: 4 kB / 0.9535 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of combineBinaries: time 6.789e-05/0.003076, allocations: 75.14 kB / 0.9536 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 3.05e-05/0.003111, allocations: 55.22 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.221e-05/0.003127, allocations: 3.938 kB / 0.9536 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.381e-05/0.003145, allocations: 4 kB / 0.9536 GB, free: 5.48 MB / 0.7325 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.000295/0.003444, allocations: 323.8 kB / 0.9539 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 6.787e-05/0.003517, allocations: 43.8 kB / 0.954 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0001021/0.003625, allocations: 132.3 kB / 0.9541 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of simplify1: time 2.391e-05/0.003654, allocations: 11.98 kB / 0.9541 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of Alias: time 0.00024/0.003899, allocations: 169.1 kB / 0.9543 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of simplify2: time 1.731e-05/0.003925, allocations: 7.984 kB / 0.9543 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of Detect States: time 4.809e-05/0.003977, allocations: 45.78 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of Events: time 5.261e-05/0.004035, allocations: 31.95 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of Partitioning: time 4.793e-05/0.00409, allocations: 48.05 kB / 0.9544 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001502/0.004245, allocations: 131.9 kB / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 9.309e-05/0.004346, allocations: 132.4 kB / 0.9546 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of Inline: time 0.0001506/0.004502, allocations: 204.2 kB / 0.9548 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.858e-05/0.004526, allocations: 16.11 kB / 0.9549 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.156e-05/0.004542, allocations: 11.92 kB / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of Causalize: time 0.000153/0.004699, allocations: 144.1 kB / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of Tearing: time 6.472e-06/0.004713, allocations: 0 / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of Initialization: time 3.5e-07/0.004717, allocations: 0 / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of Tearing: time 1.192e-06/0.004722, allocations: 0.9375 kB / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of Categorize: time 6.372e-06/0.004732, allocations: 3.938 kB / 0.955 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of Solve: time 4.269e-05/0.004779, allocations: 31.95 kB / 0.955 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.244e-06/0.004787, allocations: 0 / 0.955 GB, free: 3.734 MB / 0.7325 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.098e-05/0.004822, allocations: 27.55 kB / 0.9551 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0003809/0.005207, allocations: 0.8373 MB / 0.9559 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of Templates: time 0.001797/0.007014, allocations: 456.3 kB / 0.9563 GB, free: 2.406 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches