Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009287/0.0009287, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01031/0.01031, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.534/1.534, allocations: 223.2 MB / 240.3 MB, free: 5.379 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.842/2.842, allocations: 443.3 MB / 0.7175 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004371/0.0004371, allocations: 12.78 kB / 0.8796 GB, free: 41.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.421, allocations: 155.2 MB / 1.031 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001155/0.4222, allocations: 418.2 kB / 1.032 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002596/0.4248, allocations: 1.335 MB / 1.033 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.739e-05/0.425, allocations: 0 / 1.033 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006371/0.4256, allocations: 191.6 kB / 1.033 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.4258, allocations: 99.78 kB / 1.033 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007692/0.4265, allocations: 210.9 kB / 1.033 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005614/0.4271, allocations: 439.7 kB / 1.034 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.724e-05/0.4272, allocations: 4 kB / 1.034 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003563/0.4275, allocations: 187.6 kB / 1.034 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/0.4279, allocations: 203.6 kB / 1.034 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.428, allocations: 8 kB / 1.034 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.4282, allocations: 75.88 kB / 1.034 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003905/0.4286, allocations: 235.5 kB / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.4289, allocations: 172.9 kB / 1.035 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004996/0.4294, allocations: 459 kB / 1.035 GB, free: 360 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4294, allocations: 0 / 1.035 GB, free: 360 kB / 0.7794 GB Notification: Performance of FrontEnd: time 3.146e-06/0.4294, allocations: 0 / 1.035 GB, free: 360 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.4294, allocations: 0 / 1.035 GB, free: 360 kB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001099/0.4305, allocations: 0.5333 MB / 1.036 GB, free: 15.77 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.4306, allocations: 11.98 kB / 1.036 GB, free: 15.75 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002865/0.4309, allocations: 32.66 kB / 1.036 GB, free: 15.72 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000665/0.4315, allocations: 380 kB / 1.036 GB, free: 15.32 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.4316, allocations: 12.38 kB / 1.036 GB, free: 15.3 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.697e-05/0.4317, allocations: 24.36 kB / 1.036 GB, free: 15.28 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.432, allocations: 192.6 kB / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.4321, allocations: 192 / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.4321, allocations: 3.938 kB / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.4321, allocations: 4 kB / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.4323, allocations: 111.9 kB / 1.036 GB, free: 14.96 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005682/0.4329, allocations: 383.2 kB / 1.037 GB, free: 14.53 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004801/0.4334, allocations: 319.7 kB / 1.037 GB, free: 14.19 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.4336, allocations: 118.5 kB / 1.037 GB, free: 14.07 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.4336, allocations: 0 / 1.037 GB, free: 14.07 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005282/0.4341, allocations: 283 kB / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 3.286e-06/0.4341, allocations: 0 / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.001036/0.4352, allocations: 0.5015 MB / 1.038 GB, free: 13.26 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.4353, allocations: 110.8 kB / 1.038 GB, free: 13.13 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006628/0.436, allocations: 404.4 kB / 1.038 GB, free: 12.72 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.901e-05/0.4361, allocations: 37.7 kB / 1.038 GB, free: 12.68 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.4363, allocations: 152.8 kB / 1.038 GB, free: 12.52 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.52e-05/0.4364, allocations: 43.45 kB / 1.039 GB, free: 12.48 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.221e-05/0.4365, allocations: 29.7 kB / 1.039 GB, free: 12.45 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002227/0.4367, allocations: 350.7 kB / 1.039 GB, free: 12.09 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.4369, allocations: 83.95 kB / 1.039 GB, free: 12.01 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006694/0.4375, allocations: 463 kB / 1.039 GB, free: 11.43 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.438, allocations: 257.6 kB / 1.04 GB, free: 11.13 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-06/0.438, allocations: 4 kB / 1.04 GB, free: 11.13 MB / 0.795 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00061/0.4386, allocations: 340.8 kB / 1.04 GB, free: 10.79 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.4386, allocations: 4 kB / 1.04 GB, free: 10.79 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.4387, allocations: 4 kB / 1.04 GB, free: 10.78 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/0.4387, allocations: 8 kB / 1.04 GB, free: 10.77 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.4389, allocations: 27.92 kB / 1.04 GB, free: 10.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/0.4389, allocations: 8.391 kB / 1.04 GB, free: 10.74 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008172/0.4398, allocations: 75.97 kB / 1.04 GB, free: 10.68 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.4398, allocations: 12 kB / 1.04 GB, free: 10.66 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003396/0.4402, allocations: 199.9 kB / 1.04 GB, free: 10.46 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.885e-05/0.4402, allocations: 31.66 kB / 1.04 GB, free: 10.43 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.4403, allocations: 33.89 kB / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.4404, allocations: 0 / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/0.4404, allocations: 4 kB / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4404, allocations: 3.938 kB / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.4408, allocations: 281.5 kB / 1.041 GB, free: 10.06 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4408, allocations: 7.938 kB / 1.041 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.4408, allocations: 7.922 kB / 1.041 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4409, allocations: 4 kB / 1.041 GB, free: 10.04 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.4409, allocations: 8 kB / 1.041 GB, free: 10.04 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.4409, allocations: 4 kB / 1.041 GB, free: 10.03 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4409, allocations: 80 / 1.041 GB, free: 10.03 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.4416, allocations: 443.8 kB / 1.041 GB, free: 9.574 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.4417, allocations: 120.6 kB / 1.041 GB, free: 9.438 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.4418, allocations: 4 kB / 1.041 GB, free: 9.434 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.512e-05/0.4419, allocations: 4.125 kB / 1.041 GB, free: 9.43 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.442, allocations: 23.98 kB / 1.041 GB, free: 9.406 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.442, allocations: 15.98 kB / 1.041 GB, free: 9.391 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003531/0.4424, allocations: 291 kB / 1.042 GB, free: 9.105 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4424, allocations: 0 / 1.042 GB, free: 9.105 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004494/0.4428, allocations: 79.94 kB / 1.042 GB, free: 9.027 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003197/0.4432, allocations: 139.1 kB / 1.042 GB, free: 8.883 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004903/0.4437, allocations: 247.8 kB / 1.042 GB, free: 8.641 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4437, allocations: 4 kB / 1.042 GB, free: 8.637 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.4439, allocations: 147.8 kB / 1.042 GB, free: 8.492 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.4442, allocations: 26.14 kB / 1.042 GB, free: 8.469 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.4454, allocations: 0.6172 MB / 1.043 GB, free: 7.824 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.4459, allocations: 0.7638 MB / 1.043 GB, free: 7.031 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001898/0.4461, allocations: 58.09 kB / 1.044 GB, free: 6.977 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.151e-05/0.4462, allocations: 31.42 kB / 1.044 GB, free: 6.945 MB / 0.795 GB Notification: Performance of SimCode: time 1.513e-06/0.4462, allocations: 3.938 kB / 1.044 GB, free: 6.941 MB / 0.795 GB Notification: Performance of Templates: time 0.01143/0.4576, allocations: 4.764 MB / 1.048 GB, free: 2.219 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches