Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 104.6 kB / 16.36 MB, free: 6.258 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.001444/0.001444, allocations: 190.4 kB / 17.3 MB, free: 5.848 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.495/1.495, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.617/2.617, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 58.38 kB / 0.8774 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3243, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002174/0.3265, allocations: 0.8707 MB / 1.028 GB, free: 1.223 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001872/0.3284, allocations: 1.451 MB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.113e-05/0.3285, allocations: 4 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004833/0.329, allocations: 199.5 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.3291, allocations: 107.6 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000922/0.33, allocations: 367.9 kB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007909/0.3308, allocations: 0.8738 MB / 1.031 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.331, allocations: 100.2 kB / 1.031 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003256/0.3314, allocations: 343.4 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/0.3317, allocations: 263.3 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.3319, allocations: 52 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002724/0.3322, allocations: 111.9 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004053/0.3326, allocations: 343.3 kB / 1.032 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002887/0.3329, allocations: 274.8 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008535/0.3338, allocations: 0.9077 MB / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3338, allocations: 0 / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3338, allocations: 0 / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.3338, allocations: 0 / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001598/0.3354, allocations: 0.888 MB / 1.034 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3355, allocations: 15.97 kB / 1.034 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.3356, allocations: 52.38 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007683/0.3364, allocations: 0.5409 MB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.3364, allocations: 32.53 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.3365, allocations: 36.36 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.337, allocations: 310.9 kB / 1.035 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.337, allocations: 192 / 1.035 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.3371, allocations: 11.94 kB / 1.035 GB, free: 9.863 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3371, allocations: 4 kB / 1.035 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.3374, allocations: 223.8 kB / 1.035 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.3392, allocations: 1.176 MB / 1.036 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006158/0.3398, allocations: 471.7 kB / 1.037 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.3401, allocations: 174.6 kB / 1.037 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.3401, allocations: 3.984 kB / 1.037 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004146/0.3405, allocations: 330.5 kB / 1.037 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=24): time 1.793e-06/0.3405, allocations: 0 / 1.037 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of matching and sorting (n=24): time 0.0009626/0.3415, allocations: 0.6218 MB / 1.038 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.925e-05/0.3416, allocations: 126.7 kB / 1.038 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000657/0.3423, allocations: 0.5993 MB / 1.038 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.517e-05/0.3423, allocations: 45.7 kB / 1.038 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.3426, allocations: 213.5 kB / 1.039 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.699e-05/0.3426, allocations: 52.2 kB / 1.039 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.3429, allocations: 181.5 kB / 1.039 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3431, allocations: 358.8 kB / 1.039 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.3432, allocations: 123.9 kB / 1.039 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007756/0.344, allocations: 0.7145 MB / 1.04 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.3444, allocations: 308.5 kB / 1.04 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3444, allocations: 4 kB / 1.04 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006145/0.345, allocations: 417 kB / 1.041 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.345, allocations: 19.98 kB / 1.041 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3451, allocations: 4 kB / 1.041 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.3451, allocations: 4 kB / 1.041 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.3452, allocations: 31.92 kB / 1.041 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.3452, allocations: 7.938 kB / 1.041 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.3465, allocations: 135.7 kB / 1.041 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.3465, allocations: 12 kB / 1.041 GB, free: 3.172 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.000297/0.3468, allocations: 269.5 kB / 1.041 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.259e-05/0.3469, allocations: 39.53 kB / 1.041 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.133e-05/0.347, allocations: 55.36 kB / 1.041 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.347, allocations: 4 kB / 1.041 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.347, allocations: 3.938 kB / 1.041 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.3471, allocations: 124.6 kB / 1.041 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.3472, allocations: 4 kB / 1.041 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.3473, allocations: 19.97 kB / 1.041 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.3474, allocations: 31.97 kB / 1.041 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007955/0.3482, allocations: 0.6868 MB / 1.042 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007949/0.349, allocations: 0.8081 MB / 1.043 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002237/0.3493, allocations: 180 kB / 1.043 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004921/0.3498, allocations: 431.1 kB / 1.043 GB, free: 496 kB / 0.8106 GB Notification: Performance of Backend: time 2.21e-07/0.3498, allocations: 0 / 1.043 GB, free: 496 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.3508, allocations: 318 kB / 1.044 GB, free: 168 kB / 0.8106 GB Notification: Performance of SimCode: time 0.001239/0.3521, allocations: 1.123 MB / 1.045 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of Templates: time 0.01354/0.3656, allocations: 8.149 MB / 1.053 GB, free: 6.906 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches