Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.001211/0.001211, allocations: 104.4 kB / 16.35 MB, free: 5.828 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.001259/0.00126, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.22 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2672, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002492/0.2697, allocations: 0.8681 MB / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002157/0.2719, allocations: 1.446 MB / 0.9534 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.272, allocations: 8 kB / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000481/0.2725, allocations: 191.4 kB / 0.9536 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.2728, allocations: 115.6 kB / 0.9537 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.2739, allocations: 358.7 kB / 0.954 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.275, allocations: 0.8777 MB / 0.9549 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.2752, allocations: 84.27 kB / 0.955 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005641/0.2758, allocations: 347.4 kB / 0.9553 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000428/0.2762, allocations: 267.3 kB / 0.9556 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.2763, allocations: 51.94 kB / 0.9556 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/0.2766, allocations: 111.9 kB / 0.9557 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000404/0.277, allocations: 343.3 kB / 0.9561 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003096/0.2773, allocations: 270.8 kB / 0.9563 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000773/0.2781, allocations: 0.9154 MB / 0.9572 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2781, allocations: 0 / 0.9572 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2781, allocations: 0 / 0.9572 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.2781, allocations: 4 kB / 0.9572 GB, free: 1.805 MB / 0.7325 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.001402/0.2795, allocations: 0.8879 MB / 0.9581 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2796, allocations: 8.031 kB / 0.9581 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.2798, allocations: 52.45 kB / 0.9581 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000886/0.2806, allocations: 0.5409 MB / 0.9587 GB, free: 232 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.2807, allocations: 20.61 kB / 0.9587 GB, free: 212 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.2808, allocations: 36.38 kB / 0.9587 GB, free: 176 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.2812, allocations: 321.8 kB / 0.959 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2813, allocations: 3.984 kB / 0.959 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.2813, allocations: 8 kB / 0.959 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2813, allocations: 4 kB / 0.959 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.2816, allocations: 219.8 kB / 0.9592 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.2835, allocations: 1.183 MB / 0.9604 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000602/0.2842, allocations: 459.8 kB / 0.9608 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.2844, allocations: 182.6 kB / 0.961 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.2844, allocations: 8 kB / 0.961 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004219/0.2849, allocations: 333.2 kB / 0.9613 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.2849, allocations: 4 kB / 0.9613 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24): time 0.000944/0.2858, allocations: 0.6341 MB / 0.962 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.2859, allocations: 110.8 kB / 0.9621 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006279/0.2865, allocations: 0.5955 MB / 0.9627 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.41e-05/0.2866, allocations: 45.7 kB / 0.9627 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.2868, allocations: 213.5 kB / 0.9629 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.2869, allocations: 59.38 kB / 0.963 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/0.2871, allocations: 185.5 kB / 0.9631 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2873, allocations: 354.8 kB / 0.9635 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.2874, allocations: 127.9 kB / 0.9636 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000741/0.2882, allocations: 0.7174 MB / 0.9643 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.2885, allocations: 300.6 kB / 0.9646 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2885, allocations: 0 / 0.9646 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000604/0.2891, allocations: 424.7 kB / 0.965 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2892, allocations: 8 kB / 0.965 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2892, allocations: 7.938 kB / 0.965 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2892, allocations: 4 kB / 0.965 GB, free: 9.312 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.2894, allocations: 35.91 kB / 0.965 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.2894, allocations: 7.938 kB / 0.965 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.2906, allocations: 136.5 kB / 0.9652 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.2906, allocations: 8 kB / 0.9652 GB, free: 9.129 MB / 0.7481 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.0002654/0.2909, allocations: 261.6 kB / 0.9654 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.291, allocations: 43.44 kB / 0.9655 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.383e-05/0.291, allocations: 59.3 kB / 0.9655 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2911, allocations: 4 kB / 0.9655 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2911, allocations: 3.984 kB / 0.9655 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2911, allocations: 0 / 0.9655 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.2914, allocations: 401.3 kB / 0.9659 GB, free: 8.312 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2914, allocations: 0 / 0.9659 GB, free: 8.312 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.109e-05/0.2915, allocations: 11.92 kB / 0.9659 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2915, allocations: 8 kB / 0.9659 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.2915, allocations: 11.94 kB / 0.966 GB, free: 8.281 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2915, allocations: 0 / 0.966 GB, free: 8.281 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2915, allocations: 4 kB / 0.966 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006391/0.2922, allocations: 0.5167 MB / 0.9665 GB, free: 7.738 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.2923, allocations: 120.6 kB / 0.9666 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/0.2924, allocations: 15.92 kB / 0.9666 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.2925, allocations: 15.98 kB / 0.9666 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/0.2926, allocations: 31.97 kB / 0.9666 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.2926, allocations: 15.98 kB / 0.9667 GB, free: 7.523 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000453/0.2931, allocations: 435.1 kB / 0.9671 GB, free: 7.098 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2931, allocations: 0 / 0.9671 GB, free: 7.098 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004186/0.2935, allocations: 107.9 kB / 0.9672 GB, free: 6.992 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002141/0.2937, allocations: 153.3 kB / 0.9673 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005138/0.2943, allocations: 351.6 kB / 0.9677 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.2943, allocations: 4 kB / 0.9677 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.2945, allocations: 191.8 kB / 0.9678 GB, free: 6.297 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.2948, allocations: 34.7 kB / 0.9679 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.296, allocations: 0.8232 MB / 0.9687 GB, free: 5.402 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.2964, allocations: 0.835 MB / 0.9695 GB, free: 4.539 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001984/0.2966, allocations: 99.05 kB / 0.9696 GB, free: 4.441 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.2967, allocations: 39.42 kB / 0.9696 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of SimCode: time 2.8e-07/0.2967, allocations: 4 kB / 0.9696 GB, free: 4.398 MB / 0.7481 GB Notification: Performance of Templates: time 0.01944/0.3161, allocations: 7.93 MB / 0.9774 GB, free: 12.56 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches