Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 112.5 kB / 16.42 MB, free: 6.527 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.001091/0.001091, allocations: 182.1 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.168/1.168, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.299/2.299, allocations: 474.4 MB / 0.7477 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.668e-05, allocations: 2.281 kB / 1.073 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001311/0.001341, allocations: 0.7048 MB / 1.073 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007556/0.002107, allocations: 0.804 MB / 1.074 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.891e-05/0.002145, allocations: 4 kB / 1.074 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.00217, allocations: 3.938 kB / 1.074 GB, free: 5.703 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.262e-05/0.002228, allocations: 7.938 kB / 1.074 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.413e-05/0.002285, allocations: 7.984 kB / 1.074 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.263e-05/0.002362, allocations: 55.78 kB / 1.074 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.022e-05/0.002447, allocations: 15.97 kB / 1.074 GB, free: 5.617 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.002494, allocations: 11.94 kB / 1.074 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.175e-05/0.002541, allocations: 23.91 kB / 1.074 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.002558, allocations: 4 kB / 1.074 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.793e-06/0.002569, allocations: 4 kB / 1.074 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of combineBinaries: time 5.493e-05/0.002629, allocations: 63.33 kB / 1.074 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 1.758e-05/0.002651, allocations: 39.41 kB / 1.074 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.037e-05/0.002666, allocations: 0 / 1.074 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.113e-05/0.002682, allocations: 0 / 1.074 GB, free: 5.473 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.000272/0.002958, allocations: 276.1 kB / 1.075 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 1.766e-05/0.002981, allocations: 15.88 kB / 1.075 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of Early Inline: time 8.429e-05/0.003069, allocations: 96.38 kB / 1.075 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of simplify1: time 5.415e-05/0.003128, allocations: 52.34 kB / 1.075 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of Alias: time 0.0002307/0.003363, allocations: 128.8 kB / 1.075 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of simplify2: time 3.982e-05/0.003412, allocations: 48.41 kB / 1.075 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of Detect States: time 4.973e-05/0.003466, allocations: 46.94 kB / 1.075 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of Events: time 7.606e-05/0.003549, allocations: 47.83 kB / 1.075 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of Partitioning: time 4.686e-05/0.003602, allocations: 40.11 kB / 1.075 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001369/0.003744, allocations: 96.05 kB / 1.075 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 9.138e-05/0.003843, allocations: 124.3 kB / 1.075 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of Inline: time 0.0001337/0.003982, allocations: 160.4 kB / 1.075 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.378e-05/0.004002, allocations: 16.12 kB / 1.075 GB, free: 4.016 MB / 0.8419 GB Notification: Performance of Cleanup: time 2.557e-05/0.004031, allocations: 23.97 kB / 1.075 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001393/0.004174, allocations: 116.5 kB / 1.076 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of Tearing: time 9.037e-06/0.004191, allocations: 0 / 1.076 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of Initialization: time 1.673e-06/0.004197, allocations: 3.938 kB / 1.076 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of Tearing: time 1.132e-06/0.004202, allocations: 3.938 kB / 1.076 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of Categorize: time 6.062e-06/0.004213, allocations: 8.469 kB / 1.076 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of Solve: time 3.593e-05/0.004252, allocations: 19.97 kB / 1.076 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.294e-06/0.004259, allocations: 0 / 1.076 GB, free: 3.836 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: ................. 4 (4) {$TEV_3, $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: ........... 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.036e-05/0.004292, allocations: 21.7 kB / 1.076 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0004315/0.004728, allocations: 0.8331 MB / 1.076 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of Templates: time 0.0019/0.006636, allocations: 453 kB / 1.077 GB, free: 2.52 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches