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.001396/0.001396, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001558/0.001558, allocations: 221.2 kB / 22.25 MB, free: 5.105 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.797 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.196/3.196, allocations: 0.49 GB / 0.7951 GB, free: 35.4 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.002193/0.002193, allocations: 73.36 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3991, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002122/0.4012, allocations: 0.6758 MB / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.4033, allocations: 1.35 MB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.299e-05/0.4034, allocations: 0 / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005262/0.4039, allocations: 191.5 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.4041, allocations: 103.7 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008123/0.4049, allocations: 238.2 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006984/0.4056, allocations: 483.8 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.4056, allocations: 8 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002623/0.4059, allocations: 211.6 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004027/0.4063, allocations: 227.6 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.133e-05/0.4064, allocations: 24 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.4066, allocations: 95.91 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004324/0.4071, allocations: 275.4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.4073, allocations: 135.4 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005864/0.4079, allocations: 478.8 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4079, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4079, allocations: 4 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.4079, allocations: 0 / 1.33 GB, free: 13.03 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.001102/0.409, allocations: 0.5631 MB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.409, allocations: 12.03 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/0.4091, allocations: 38.73 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.4092, allocations: 32.75 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006545/0.4098, allocations: 330.5 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.4099, allocations: 20.38 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.118e-05/0.4099, allocations: 24.31 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.4103, allocations: 184.7 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.4103, allocations: 3.938 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.4103, allocations: 4 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.4103, allocations: 4 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.4105, allocations: 103.9 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.4109, allocations: 298.4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004659/0.4113, allocations: 311.6 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.4115, allocations: 130.5 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.4115, allocations: 0 / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005163/0.4121, allocations: 291.5 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.472e-06/0.4121, allocations: 0 / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0009004/0.413, allocations: 0.4895 MB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.4131, allocations: 122.7 kB / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004963/0.4136, allocations: 400.5 kB / 1.333 GB, free: 9.484 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.708e-05/0.4136, allocations: 45.69 kB / 1.333 GB, free: 9.434 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.4138, allocations: 148.8 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.4138, allocations: 35.78 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.414, allocations: 117.6 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.4142, allocations: 346.8 kB / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.4143, allocations: 79.95 kB / 1.334 GB, free: 8.699 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009303/0.4153, allocations: 1.087 MB / 1.335 GB, free: 7.332 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.4156, allocations: 257.4 kB / 1.335 GB, free: 7.031 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.4156, allocations: 4 kB / 1.335 GB, free: 7.027 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005311/0.4161, allocations: 337 kB / 1.336 GB, free: 6.691 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4161, allocations: 7.938 kB / 1.336 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4162, allocations: 4 kB / 1.336 GB, free: 6.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.4162, allocations: 4 kB / 1.336 GB, free: 6.676 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.4163, allocations: 35.92 kB / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.4163, allocations: 8.391 kB / 1.336 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008166/0.4172, allocations: 68.38 kB / 1.336 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.4172, allocations: 16 kB / 1.336 GB, free: 6.551 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.0002493/0.4174, allocations: 199.9 kB / 1.336 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.4175, allocations: 31.75 kB / 1.336 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.712e-05/0.4176, allocations: 33.89 kB / 1.336 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4176, allocations: 8 kB / 1.336 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4176, allocations: 0 / 1.336 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4176, allocations: 3.938 kB / 1.336 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.4179, allocations: 228.6 kB / 1.336 GB, free: 6.008 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.4179, allocations: 0 / 1.336 GB, free: 6.008 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.805e-05/0.4179, allocations: 8 kB / 1.336 GB, free: 6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.84e-06/0.4179, allocations: 3.938 kB / 1.336 GB, free: 5.996 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.4179, allocations: 8.109 kB / 1.336 GB, free: 5.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.4179, allocations: 8 kB / 1.336 GB, free: 5.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4179, allocations: 0 / 1.336 GB, free: 5.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005957/0.4185, allocations: 432.2 kB / 1.337 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.4186, allocations: 39.73 kB / 1.337 GB, free: 5.496 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.4186, allocations: 7.984 kB / 1.337 GB, free: 5.488 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/0.4187, allocations: 4 kB / 1.337 GB, free: 5.484 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.4187, allocations: 15.98 kB / 1.337 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.4188, allocations: 15.98 kB / 1.337 GB, free: 5.453 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003228/0.4191, allocations: 291 kB / 1.337 GB, free: 5.172 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4191, allocations: 0 / 1.337 GB, free: 5.172 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003933/0.4195, allocations: 75.88 kB / 1.337 GB, free: 5.098 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.001044/0.4205, allocations: 1.012 MB / 1.338 GB, free: 4.047 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004697/0.421, allocations: 251.7 kB / 1.339 GB, free: 3.801 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.421, allocations: 0 / 1.339 GB, free: 3.801 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.4212, allocations: 115.9 kB / 1.339 GB, free: 3.688 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.4215, allocations: 30.86 kB / 1.339 GB, free: 3.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.4255, allocations: 3.261 MB / 1.342 GB, free: 208 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.4257, allocations: 161.2 kB / 1.342 GB, free: 24 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001472/0.4258, allocations: 46.2 kB / 1.342 GB, free: 15.98 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.426, allocations: 87.31 kB / 1.342 GB, free: 15.89 MB / 1.045 GB Notification: Performance of SimCode: time 9.42e-07/0.426, allocations: 0 / 1.342 GB, free: 15.89 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03958/0.4656, allocations: 8.683 MB / 1.351 GB, free: 7.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.9, allocations: 10.22 kB / 1.351 GB, free: 7.48 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.675203494989546]