Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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 12.0.0-master/package.mo", uses=false) 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.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009083/0.0009083, allocations: 108.5 kB / 16.42 MB, free: 6.531 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.0008494/0.0008494, allocations: 190 kB / 17.36 MB, free: 5.723 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.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.227/2.227, allocations: 472.6 MB / 0.7459 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.333e-05, allocations: 5.094 kB / 1.07 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001564/0.001587, allocations: 1.072 MB / 1.071 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009887/0.002586, allocations: 0.9948 MB / 1.072 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.413e-05/0.002682, allocations: 7.938 kB / 1.072 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.00279, allocations: 19.73 kB / 1.072 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.216e-05/0.002855, allocations: 27.73 kB / 1.072 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.00307, allocations: 71.48 kB / 1.072 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.003255, allocations: 196 kB / 1.072 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.003413, allocations: 82.5 kB / 1.073 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.989e-05/0.0035, allocations: 71.77 kB / 1.073 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.527e-05/0.003591, allocations: 79.61 kB / 1.073 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.003623, allocations: 16 kB / 1.073 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.247e-05/0.003651, allocations: 16 kB / 1.073 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001488/0.003805, allocations: 264.9 kB / 1.073 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 6.357e-05/0.003873, allocations: 165.4 kB / 1.073 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.003906, allocations: 23.94 kB / 1.073 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.192e-05/0.003932, allocations: 11.88 kB / 1.073 GB, free: 6.469 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: 36 (36) * Number of variables: 36 (36) Notification: Performance of Bindings: time 0.0006433/0.00458, allocations: 0.8262 MB / 1.074 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 7.628e-05/0.004661, allocations: 54.11 kB / 1.074 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0003265/0.004994, allocations: 427.5 kB / 1.074 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of simplify1: time 3.768e-05/0.005038, allocations: 35.94 kB / 1.074 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of Alias: time 0.0008468/0.00589, allocations: 0.8498 MB / 1.075 GB, free: 4.02 MB / 0.8419 GB Notification: Performance of simplify2: time 2.643e-05/0.005925, allocations: 27.95 kB / 1.075 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001425/0.006073, allocations: 131.9 kB / 1.075 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of Events: time 0.0001054/0.006185, allocations: 68.14 kB / 1.075 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001191/0.006313, allocations: 134.7 kB / 1.076 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003701/0.006689, allocations: 376.7 kB / 1.076 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0002286/0.006925, allocations: 312.6 kB / 1.076 GB, free: 2.906 MB / 0.8419 GB Notification: Performance of Inline: time 0.000423/0.007355, allocations: 0.5277 MB / 1.077 GB, free: 2.344 MB / 0.8419 GB Notification: Performance of Partitioning: time 3.845e-05/0.007401, allocations: 34.38 kB / 1.077 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of Cleanup: time 1.696e-05/0.007423, allocations: 15.98 kB / 1.077 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0007232/0.008153, allocations: 0.7312 MB / 1.078 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of Tearing: time 8.275e-06/0.00817, allocations: 4 kB / 1.078 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of Initialization: time 3.31e-07/0.008177, allocations: 7.938 kB / 1.078 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of Tearing: time 1.743e-06/0.008183, allocations: 0 / 1.078 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of Categorize: time 6.302e-06/0.008194, allocations: 0 / 1.078 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001176/0.008315, allocations: 93.59 kB / 1.078 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.0001932/0.008515, allocations: 294 kB / 1.078 GB, free: 1.121 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: ............... 1 * Number of algebraic event partitions: ......... 2 * 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: ............................. 3 (3) {der1.x, der1.u, der2.x} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 7 (7) {assMes.u, $SEV_2, $SEV_1, $SEV_0, $TEV_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: ........... 19 (scalar:19, 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: ........... 35 (scalar:35, 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.258e-05/0.008554, allocations: 35.45 kB / 1.078 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of SimCode: time 0.3864/0.395, allocations: 1.211 MB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of Templates: time 0.00358/0.3986, allocations: 1.304 MB / 1.08 GB, free: 14.86 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches