Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001192/0.001192, allocations: 115.3 kB / 16.43 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.001212/0.001212, allocations: 183.2 kB / 17.35 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.129/1.129, 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 10.1.1-maint.10.0.x/package.mo): time 2.064/2.064, allocations: 437 MB / 0.7111 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.833e-05, allocations: 2.281 kB / 1.019 GB, free: 9.5 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002095/0.002121, allocations: 1.515 MB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006178/0.002749, allocations: 415 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.002799, allocations: 0 / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.002837, allocations: 3.938 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.764e-05/0.002889, allocations: 11.88 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.00306, allocations: 19.97 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.323e-05/0.003161, allocations: 67.7 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.653e-05/0.003262, allocations: 4 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.694e-05/0.003355, allocations: 23.92 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.003418, allocations: 19.92 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.003441, allocations: 4 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.003459, allocations: 8 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of combineBinaries: time 7.211e-05/0.003535, allocations: 86.98 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 2.234e-05/0.003561, allocations: 47.31 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.655e-05/0.003582, allocations: 4 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.66e-05/0.003602, allocations: 0 / 1.021 GB, free: 7.27 MB / 0.795 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.0003101/0.003919, allocations: 339.6 kB / 1.022 GB, free: 6.836 MB / 0.795 GB Notification: Performance of FunctionAlias: time 9.038e-05/0.004014, allocations: 27.92 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0001098/0.004131, allocations: 132.3 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of simplify1: time 2.3e-05/0.00416, allocations: 19.97 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of Alias: time 0.0002671/0.004431, allocations: 165.1 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of simplify2: time 1.211e-05/0.004453, allocations: 15.98 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of Detect States: time 5.695e-05/0.004514, allocations: 44.11 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of Events: time 5.678e-05/0.004576, allocations: 27.91 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of Partitioning: time 5.466e-05/0.004637, allocations: 48.11 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of Causalize: time 0.0001567/0.004798, allocations: 128 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0001003/0.004907, allocations: 132.3 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of Inline: time 0.0001578/0.00507, allocations: 196.3 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of Partitioning: time 1.428e-05/0.005091, allocations: 16.12 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of Cleanup: time 1.216e-05/0.005107, allocations: 15.91 kB / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of Causalize: time 0.0001647/0.005276, allocations: 148 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of Tearing: time 1.084e-05/0.005295, allocations: 11.86 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of Initialization: time 2.81e-07/0.0053, allocations: 0 / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of Tearing: time 1.422e-06/0.005307, allocations: 4 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of Categorize: time 6.583e-06/0.005318, allocations: 0 / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of Solve: time 5.217e-05/0.005373, allocations: 27.95 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of Jacobian: time 3.036e-06/0.005382, allocations: 0 / 1.023 GB, free: 5.512 MB / 0.795 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.958e-05/0.005415, allocations: 22.42 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of SimCode: time 0.0004463/0.005866, allocations: 0.8281 MB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of Templates: time 0.002085/0.007961, allocations: 462 kB / 1.024 GB, free: 4.203 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches