Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001395/0.001395, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001466/0.001466, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.404/1.404, 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 9.1.3-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 67.89 kB / 0.9516 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9083/0.9105, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001763/0.9123, allocations: 0.6897 MB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.9141, allocations: 1.335 MB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.9142, allocations: 5.125 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005378/0.9148, allocations: 187.4 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.9149, allocations: 101 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007499/0.9157, allocations: 231.9 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006451/0.9163, allocations: 496.7 kB / 1.092 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.401e-05/0.9164, allocations: 17.83 kB / 1.092 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002825/0.9167, allocations: 203.4 kB / 1.092 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004049/0.9171, allocations: 208 kB / 1.092 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.9172, allocations: 21.78 kB / 1.092 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.9175, allocations: 82 kB / 1.092 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004716/0.918, allocations: 250.7 kB / 1.092 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.9182, allocations: 153.3 kB / 1.092 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007046/0.9189, allocations: 487.5 kB / 1.093 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.9189, allocations: 0 / 1.093 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9189, allocations: 0.7969 kB / 1.093 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.9189, allocations: 0 / 1.093 GB, free: 3.352 MB / 0.8575 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.00108/0.92, allocations: 0.6292 MB / 1.094 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.9201, allocations: 9.672 kB / 1.094 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.9202, allocations: 30.34 kB / 1.094 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006391/0.9209, allocations: 381.6 kB / 1.094 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.9209, allocations: 17.45 kB / 1.094 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.29e-05/0.921, allocations: 21.91 kB / 1.094 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.9213, allocations: 198.1 kB / 1.094 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.9214, allocations: 0 / 1.094 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.9214, allocations: 1.656 kB / 1.094 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.9214, allocations: 2.125 kB / 1.094 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.9216, allocations: 112.5 kB / 1.094 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.9221, allocations: 387.3 kB / 1.095 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005308/0.9226, allocations: 315.4 kB / 1.095 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.9229, allocations: 131.3 kB / 1.095 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-06/0.9229, allocations: 5.766 kB / 1.095 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005222/0.9234, allocations: 279.9 kB / 1.095 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.482e-06/0.9234, allocations: 0 / 1.095 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0009677/0.9244, allocations: 0.4941 MB / 1.096 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.9244, allocations: 110.5 kB / 1.096 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.925, allocations: 400.7 kB / 1.096 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.157e-05/0.925, allocations: 41.73 kB / 1.096 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.9252, allocations: 150.3 kB / 1.097 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.9252, allocations: 41.67 kB / 1.097 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.9254, allocations: 118.6 kB / 1.097 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.9255, allocations: 343 kB / 1.097 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.9256, allocations: 82.22 kB / 1.097 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005095/0.9262, allocations: 470.4 kB / 1.098 GB, free: 460 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.9265, allocations: 256.6 kB / 1.098 GB, free: 264 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.9265, allocations: 4.906 kB / 1.098 GB, free: 260 kB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005313/0.927, allocations: 333.7 kB / 1.098 GB, free: 128 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.927, allocations: 11.62 kB / 1.098 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.927, allocations: 3.469 kB / 1.098 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.9271, allocations: 5.188 kB / 1.098 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.9272, allocations: 33.08 kB / 1.098 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.9273, allocations: 6.594 kB / 1.098 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007726/0.928, allocations: 68.8 kB / 1.098 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.9281, allocations: 15.81 kB / 1.098 GB, free: 92 kB / 0.8575 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.0002594/0.9283, allocations: 194.7 kB / 1.098 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.9284, allocations: 33.19 kB / 1.098 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.801e-05/0.9285, allocations: 33.08 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.9285, allocations: 6.062 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.9285, allocations: 0.8438 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.489e-05/0.9286, allocations: 103.3 kB / 1.099 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.9287, allocations: 3.734 kB / 1.099 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.9288, allocations: 14.78 kB / 1.099 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-05/0.9289, allocations: 19.89 kB / 1.099 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000784/0.9296, allocations: 0.5973 MB / 1.099 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007997/0.9305, allocations: 0.7025 MB / 1.1 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002384/0.9307, allocations: 139.7 kB / 1.1 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004281/0.9311, allocations: 287.2 kB / 1.1 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of Backend: time 3.1e-07/0.9311, allocations: 0 / 1.1 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.9322, allocations: 252.6 kB / 1.101 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of SimCode: time 0.00121/0.9335, allocations: 0.8968 MB / 1.101 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of Templates: time 0.01176/0.9452, allocations: 5.051 MB / 1.106 GB, free: 13.59 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches