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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 115.2 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 193.2 kB / 20.08 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 443.5 MB / 0.7293 GB, free: 14.66 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.88 kB / 1.057 GB, free: 2.043 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3177, allocations: 160.7 MB / 1.214 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001876/0.3196, allocations: 0.6877 MB / 1.215 GB, free: 332 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.3214, allocations: 1.343 MB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.282e-05/0.3215, allocations: 8 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004699/0.3219, allocations: 195.5 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.3221, allocations: 95.72 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000706/0.3228, allocations: 235.1 kB / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006017/0.3234, allocations: 495.7 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.3234, allocations: 8 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.3237, allocations: 207.7 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.324, allocations: 227.5 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.752e-05/0.3241, allocations: 20 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.3243, allocations: 87.88 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004037/0.3247, allocations: 271.5 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.3249, allocations: 147.3 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005541/0.3255, allocations: 478.5 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3255, allocations: 4 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3255, allocations: 7.938 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3255, allocations: 0 / 1.218 GB, free: 12.53 MB / 0.9669 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.001089/0.3266, allocations: 0.6422 MB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.3266, allocations: 8.031 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.3268, allocations: 32.8 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/0.3273, allocations: 396.2 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.3273, allocations: 16.38 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.04e-05/0.3274, allocations: 20.38 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.3277, allocations: 180.7 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3277, allocations: 192 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.3277, allocations: 7.922 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3278, allocations: 7.984 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.3279, allocations: 107.9 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.3284, allocations: 391.1 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.3289, allocations: 311.6 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.3291, allocations: 122.6 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.3291, allocations: 12 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004453/0.3295, allocations: 279.3 kB / 1.221 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.3295, allocations: 0 / 1.221 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.0008619/0.3304, allocations: 0.5016 MB / 1.221 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/0.3305, allocations: 114.8 kB / 1.221 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004754/0.3309, allocations: 396.5 kB / 1.222 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.438e-05/0.331, allocations: 41.7 kB / 1.222 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.3312, allocations: 152.8 kB / 1.222 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/0.3312, allocations: 43.73 kB / 1.222 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.3314, allocations: 117.6 kB / 1.222 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.3316, allocations: 346.8 kB / 1.223 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.3317, allocations: 87.95 kB / 1.223 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000582/0.3323, allocations: 464.5 kB / 1.223 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.3326, allocations: 257.4 kB / 1.223 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3326, allocations: 0 / 1.223 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005232/0.3331, allocations: 325.1 kB / 1.224 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3332, allocations: 16.28 kB / 1.224 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3332, allocations: 8 kB / 1.224 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3332, allocations: 4 kB / 1.224 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.3333, allocations: 27.92 kB / 1.224 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/0.3334, allocations: 15.92 kB / 1.224 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007582/0.3341, allocations: 64.19 kB / 1.224 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.3341, allocations: 12 kB / 1.224 GB, free: 6.629 MB / 0.9669 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.0002252/0.3344, allocations: 200 kB / 1.224 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.3344, allocations: 31.75 kB / 1.224 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.622e-05/0.3345, allocations: 41.89 kB / 1.224 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3345, allocations: 0 / 1.224 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3345, allocations: 4 kB / 1.224 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3345, allocations: 3.984 kB / 1.224 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.3348, allocations: 273.5 kB / 1.224 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3348, allocations: 4 kB / 1.224 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.3348, allocations: 11.98 kB / 1.224 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3348, allocations: 7.938 kB / 1.224 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.3348, allocations: 4 kB / 1.224 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3348, allocations: 0 / 1.224 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3348, allocations: 0 / 1.224 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005974/0.3354, allocations: 438.4 kB / 1.225 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.207e-05/0.3355, allocations: 112.8 kB / 1.225 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.3356, allocations: 11.94 kB / 1.225 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.3357, allocations: 0 / 1.225 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.3357, allocations: 19.97 kB / 1.225 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.3357, allocations: 16 kB / 1.225 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003292/0.3361, allocations: 287 kB / 1.225 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3361, allocations: 0 / 1.225 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003771/0.3365, allocations: 79.92 kB / 1.225 GB, free: 5.016 MB / 0.9669 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.0002418/0.3367, allocations: 139.9 kB / 1.225 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004603/0.3372, allocations: 257.5 kB / 1.226 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3372, allocations: 0 / 1.226 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.3374, allocations: 143.9 kB / 1.226 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.3377, allocations: 29.45 kB / 1.226 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009647/0.3386, allocations: 0.6013 MB / 1.226 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.339, allocations: 0.7712 MB / 1.227 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.452e-05/0.3391, allocations: 31.44 kB / 1.227 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.3391, allocations: 0 / 1.227 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of Templates: time 0.007274/0.3464, allocations: 4.345 MB / 1.231 GB, free: 14.7 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (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) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.015943560982123]