Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 110.4 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 214.2 kB / 22.25 MB, free: 5.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.385/3.385, allocations: 0.49 GB / 0.7951 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 69 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.391, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002277/0.3933, allocations: 0.6907 MB / 1.327 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002381/0.3957, allocations: 1.389 MB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.3958, allocations: 8 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005789/0.3964, allocations: 191.5 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.3965, allocations: 99.72 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009783/0.3975, allocations: 249.3 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007521/0.3983, allocations: 491.7 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.821e-05/0.3983, allocations: 0 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004219/0.3987, allocations: 211.6 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004833/0.3992, allocations: 235.5 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.3994, allocations: 20 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.3997, allocations: 103.9 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004351/0.4001, allocations: 271.4 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002452/0.4004, allocations: 151.3 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006476/0.401, allocations: 478.8 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.401, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.643e-06/0.401, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.401, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 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.001186/0.4022, allocations: 0.5708 MB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.4023, allocations: 12.03 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.349e-05/0.4023, allocations: 34.75 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.4025, allocations: 40.73 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/0.4032, allocations: 318.5 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.4032, allocations: 16.36 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.361e-05/0.4033, allocations: 24.31 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.4036, allocations: 184.7 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4036, allocations: 7.875 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.4036, allocations: 4 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.4036, allocations: 7.984 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.4038, allocations: 107.9 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.4043, allocations: 358.2 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/0.4048, allocations: 315.6 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.405, allocations: 118.6 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.405, allocations: 7.984 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000482/0.4055, allocations: 283.2 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 2.084e-06/0.4055, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0008851/0.4064, allocations: 0.5012 MB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.692e-05/0.4064, allocations: 114.8 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.4069, allocations: 404.5 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.69e-05/0.407, allocations: 37.7 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.4072, allocations: 152.8 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.4072, allocations: 35.78 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.4074, allocations: 117.6 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.4076, allocations: 346.8 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.4077, allocations: 83.95 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.4083, allocations: 466.8 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.4086, allocations: 261.4 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.4086, allocations: 0 / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005548/0.4091, allocations: 329 kB / 1.335 GB, free: 7.828 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.4092, allocations: 11.94 kB / 1.335 GB, free: 7.816 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.4092, allocations: 4.406 kB / 1.335 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.4092, allocations: 8 kB / 1.335 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.4094, allocations: 35.86 kB / 1.335 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.4094, allocations: 8.625 kB / 1.335 GB, free: 7.762 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007358/0.4101, allocations: 71.84 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.4101, allocations: 20 kB / 1.336 GB, free: 7.672 MB / 1.029 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.0002688/0.4104, allocations: 199.7 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.4105, allocations: 31.75 kB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.508e-05/0.4105, allocations: 33.89 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4105, allocations: 0 / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4105, allocations: 4 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4105, allocations: 0 / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.4108, allocations: 256.6 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4108, allocations: 240 / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.642e-05/0.4109, allocations: 4 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.4109, allocations: 3.938 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.4109, allocations: 11.98 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.4109, allocations: 0 / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.4109, allocations: 7.984 kB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006167/0.4115, allocations: 435.8 kB / 1.336 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.4116, allocations: 39.72 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.4116, allocations: 4 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-05/0.4117, allocations: 8 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.4118, allocations: 19.97 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.4118, allocations: 12 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003415/0.4121, allocations: 291 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4121, allocations: 0 / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004235/0.4126, allocations: 79.92 kB / 1.337 GB, free: 6.191 MB / 1.029 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.001093/0.4136, allocations: 1.009 MB / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004734/0.4141, allocations: 252.3 kB / 1.338 GB, free: 4.898 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4141, allocations: 4.188 kB / 1.338 GB, free: 4.895 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.4143, allocations: 119.9 kB / 1.338 GB, free: 4.777 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.4146, allocations: 24.64 kB / 1.338 GB, free: 4.754 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.4189, allocations: 3.26 MB / 1.341 GB, free: 1.305 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.4193, allocations: 0.7636 MB / 1.342 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001594/0.4195, allocations: 50.19 kB / 1.342 GB, free: 480 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.4196, allocations: 87.41 kB / 1.342 GB, free: 392 kB / 1.029 GB Notification: Performance of SimCode: time 8.31e-07/0.4196, allocations: 0 / 1.342 GB, free: 392 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04014/0.4597, allocations: 7.828 MB / 1.35 GB, free: 8.789 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.9, allocations: 19.48 kB / 1.35 GB, free: 8.773 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.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: 18.956060755066574]