Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001602/0.001602, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001721/0.001721, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.464/1.464, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.541/2.541, allocations: 437.1 MB / 0.7111 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.00197, allocations: 65 kB / 0.8699 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3079, allocations: 151.6 MB / 1.018 GB, free: 10.57 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001905/0.3099, allocations: 0.6896 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.3117, allocations: 1.34 MB / 1.02 GB, free: 8.527 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.3117, allocations: 0 / 1.02 GB, free: 8.527 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000448/0.3122, allocations: 191.5 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.3123, allocations: 103.7 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006705/0.313, allocations: 222.6 kB / 1.02 GB, free: 8.023 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005261/0.3135, allocations: 483.7 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/0.3136, allocations: 19.97 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.3138, allocations: 199.7 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003203/0.3141, allocations: 211.6 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.719e-05/0.3142, allocations: 24 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.3144, allocations: 79.88 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003578/0.3148, allocations: 251.5 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.315, allocations: 151.3 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005083/0.3155, allocations: 475 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.3155, allocations: 0 / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3155, allocations: 0 / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.3156, allocations: 4 kB / 1.022 GB, free: 6.164 MB / 0.795 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.001001/0.3166, allocations: 0.6422 MB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3166, allocations: 8.922 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.3167, allocations: 32.66 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000522/0.3173, allocations: 380.1 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.3173, allocations: 16.38 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.948e-05/0.3174, allocations: 20.38 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.3177, allocations: 196.6 kB / 1.024 GB, free: 4.777 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.3177, allocations: 192 / 1.024 GB, free: 4.777 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.3177, allocations: 7.922 kB / 1.024 GB, free: 4.77 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.3177, allocations: 4 kB / 1.024 GB, free: 4.766 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.3179, allocations: 107.9 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.3184, allocations: 379.1 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.3188, allocations: 319.6 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.319, allocations: 126.6 kB / 1.024 GB, free: 3.762 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.319, allocations: 0 / 1.024 GB, free: 3.762 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004115/0.3195, allocations: 281.6 kB / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.3195, allocations: 0 / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.0008333/0.3203, allocations: 0.4971 MB / 1.025 GB, free: 2.961 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/0.3204, allocations: 118.7 kB / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/0.3209, allocations: 400.5 kB / 1.026 GB, free: 2.418 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.476e-05/0.3209, allocations: 37.7 kB / 1.026 GB, free: 2.375 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.3211, allocations: 160.7 kB / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.3211, allocations: 47.39 kB / 1.026 GB, free: 2.168 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.3213, allocations: 113.6 kB / 1.026 GB, free: 2.051 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3215, allocations: 342.8 kB / 1.026 GB, free: 1.707 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.3216, allocations: 91.95 kB / 1.026 GB, free: 1.617 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/0.3222, allocations: 464.5 kB / 1.027 GB, free: 1.039 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.3225, allocations: 245.5 kB / 1.027 GB, free: 0.75 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3225, allocations: 4 kB / 1.027 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005084/0.323, allocations: 333 kB / 1.027 GB, free: 424 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3231, allocations: 8 kB / 1.027 GB, free: 416 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3231, allocations: 4 kB / 1.027 GB, free: 412 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3231, allocations: 4.406 kB / 1.027 GB, free: 408 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.3232, allocations: 35.91 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.3233, allocations: 7.984 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007278/0.324, allocations: 68.67 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.324, allocations: 8 kB / 1.028 GB, free: 288 kB / 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.0002195/0.3242, allocations: 202.5 kB / 1.028 GB, free: 80 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.3243, allocations: 35.56 kB / 1.028 GB, free: 44 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.257e-05/0.3244, allocations: 29.89 kB / 1.028 GB, free: 12 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3244, allocations: 4 kB / 1.028 GB, free: 8 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3244, allocations: 0 / 1.028 GB, free: 8 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.3244, allocations: 7.938 kB / 1.028 GB, free: 0 / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.3247, allocations: 285.5 kB / 1.028 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3247, allocations: 0 / 1.028 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.3247, allocations: 11.92 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3248, allocations: 4 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3248, allocations: 11.94 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3248, allocations: 4 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3248, allocations: 0 / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.3254, allocations: 434.2 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.3255, allocations: 104.8 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.3255, allocations: 4 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.163e-05/0.3256, allocations: 4 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.3257, allocations: 23.97 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.3257, allocations: 8 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003097/0.326, allocations: 295 kB / 1.029 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.326, allocations: 3.938 kB / 1.029 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003685/0.3264, allocations: 76 kB / 1.029 GB, free: 14.66 MB / 0.8106 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.0002287/0.3266, allocations: 142.5 kB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004593/0.3271, allocations: 267.7 kB / 1.029 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3271, allocations: 0 / 1.029 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.3274, allocations: 171.8 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.3276, allocations: 32.58 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009383/0.3286, allocations: 0.5988 MB / 1.03 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/0.3291, allocations: 0.7637 MB / 1.031 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.3292, allocations: 31.38 kB / 1.031 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.3292, allocations: 4 kB / 1.031 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.007191/0.3364, allocations: 4.291 MB / 1.035 GB, free: 8.375 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches