Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.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.001323/0.001323, allocations: 109.2 kB / 16.4 MB, free: 6.504 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.001309/0.001309, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.479/1.479, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.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.666/2.666, allocations: 437.1 MB / 0.7171 GB, free: 4.059 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_10_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_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.89 kB / 1.027 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8466/0.8486, allocations: 151.6 MB / 1.175 GB, free: 17.49 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001802/0.8505, allocations: 0.695 MB / 1.175 GB, free: 17.05 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.8522, allocations: 1.346 MB / 1.177 GB, free: 16.08 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.8523, allocations: 5.188 kB / 1.177 GB, free: 16.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.8528, allocations: 187.6 kB / 1.177 GB, free: 16.04 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.853, allocations: 100.4 kB / 1.177 GB, free: 16.01 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006914/0.8537, allocations: 234.7 kB / 1.177 GB, free: 15.9 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000588/0.8543, allocations: 495.9 kB / 1.178 GB, free: 15.73 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.8543, allocations: 9.984 kB / 1.178 GB, free: 15.72 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.8546, allocations: 207.4 kB / 1.178 GB, free: 15.67 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003632/0.8549, allocations: 204.3 kB / 1.178 GB, free: 15.62 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.391e-05/0.855, allocations: 20.62 kB / 1.178 GB, free: 15.62 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.8553, allocations: 86.08 kB / 1.178 GB, free: 15.6 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003782/0.8557, allocations: 254.5 kB / 1.178 GB, free: 15.53 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.8559, allocations: 152.8 kB / 1.179 GB, free: 15.45 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006209/0.8565, allocations: 473.5 kB / 1.179 GB, free: 15.31 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8565, allocations: 4 kB / 1.179 GB, free: 15.3 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8565, allocations: 1.312 kB / 1.179 GB, free: 15.3 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.585e-06/0.8565, allocations: 0 / 1.179 GB, free: 15.3 MB / 0.92 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.0009762/0.8575, allocations: 0.647 MB / 1.18 GB, free: 14.79 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.8576, allocations: 10.64 kB / 1.18 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.8576, allocations: 35.22 kB / 1.18 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.8577, allocations: 30.89 kB / 1.18 GB, free: 14.74 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00058/0.8583, allocations: 392.4 kB / 1.18 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.8584, allocations: 17.98 kB / 1.18 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-05/0.8584, allocations: 21.55 kB / 1.18 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.8589, allocations: 186.7 kB / 1.18 GB, free: 14.37 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.8589, allocations: 9.156 kB / 1.18 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.8589, allocations: 0.6094 kB / 1.18 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.8589, allocations: 1.281 kB / 1.18 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.8592, allocations: 112.7 kB / 1.18 GB, free: 14.34 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005358/0.8597, allocations: 387 kB / 1.181 GB, free: 14.06 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005411/0.8603, allocations: 316.9 kB / 1.181 GB, free: 13.93 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.8605, allocations: 130.8 kB / 1.181 GB, free: 13.88 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.8605, allocations: 1.469 kB / 1.181 GB, free: 13.88 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006344/0.8612, allocations: 287.1 kB / 1.181 GB, free: 13.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=18): time 1.512e-06/0.8612, allocations: 0 / 1.181 GB, free: 13.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=18): time 0.0008767/0.8621, allocations: 0.4904 MB / 1.182 GB, free: 13.61 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.8621, allocations: 118.4 kB / 1.182 GB, free: 13.47 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/0.8626, allocations: 401.1 kB / 1.182 GB, free: 13.29 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/0.8627, allocations: 37.05 kB / 1.183 GB, free: 13.25 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.8628, allocations: 154.3 kB / 1.183 GB, free: 13.12 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.8628, allocations: 49.12 kB / 1.183 GB, free: 13.09 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.863, allocations: 119.8 kB / 1.183 GB, free: 13.04 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.8632, allocations: 342.3 kB / 1.183 GB, free: 12.72 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.8633, allocations: 82.28 kB / 1.183 GB, free: 12.7 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/0.8638, allocations: 465.3 kB / 1.184 GB, free: 12.32 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.8641, allocations: 257.2 kB / 1.184 GB, free: 12.13 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.8641, allocations: 5.125 kB / 1.184 GB, free: 12.13 MB / 0.92 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005241/0.8647, allocations: 329.5 kB / 1.184 GB, free: 12 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.8647, allocations: 10.83 kB / 1.184 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.8647, allocations: 3.875 kB / 1.184 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.8647, allocations: 5 kB / 1.184 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.8649, allocations: 33.36 kB / 1.184 GB, free: 11.99 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.8649, allocations: 10.25 kB / 1.184 GB, free: 11.99 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007417/0.8657, allocations: 62.05 kB / 1.184 GB, free: 11.97 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.8657, allocations: 19.03 kB / 1.184 GB, free: 11.96 MB / 0.92 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.0001921/0.8659, allocations: 199.1 kB / 1.185 GB, free: 11.82 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.866, allocations: 34.44 kB / 1.185 GB, free: 11.8 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.088e-05/0.866, allocations: 33.62 kB / 1.185 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.866, allocations: 2.781 kB / 1.185 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.8661, allocations: 0 / 1.185 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.8661, allocations: 2.141 kB / 1.185 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.8663, allocations: 283.3 kB / 1.185 GB, free: 11.56 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.8663, allocations: 4.125 kB / 1.185 GB, free: 11.56 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/0.8664, allocations: 9.625 kB / 1.185 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.8664, allocations: 5.594 kB / 1.185 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.8664, allocations: 9.781 kB / 1.185 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.8664, allocations: 1.344 kB / 1.185 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8664, allocations: 2.344 kB / 1.185 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/0.867, allocations: 436 kB / 1.185 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.8671, allocations: 107.6 kB / 1.185 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.8671, allocations: 7.438 kB / 1.185 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.202e-05/0.8672, allocations: 2.359 kB / 1.185 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.8673, allocations: 22 kB / 1.185 GB, free: 11.24 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.8673, allocations: 10.88 kB / 1.185 GB, free: 11.24 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003312/0.8676, allocations: 288 kB / 1.186 GB, free: 11.11 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8676, allocations: 1.125 kB / 1.186 GB, free: 11.11 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004389/0.8681, allocations: 80.5 kB / 1.186 GB, free: 11.09 MB / 0.92 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.001194/0.8693, allocations: 1.013 MB / 1.187 GB, free: 10.36 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005751/0.8699, allocations: 257.8 kB / 1.187 GB, free: 10.3 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8699, allocations: 0 / 1.187 GB, free: 10.3 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.8702, allocations: 144.1 kB / 1.187 GB, free: 10.26 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.8705, allocations: 25.02 kB / 1.187 GB, free: 10.25 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/0.8745, allocations: 3.273 MB / 1.19 GB, free: 8.27 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.8748, allocations: 0.7598 MB / 1.191 GB, free: 7.57 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001522/0.875, allocations: 49.25 kB / 1.191 GB, free: 7.566 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.8751, allocations: 84.23 kB / 1.191 GB, free: 7.508 MB / 0.92 GB Notification: Performance of SimCode: time 4.81e-07/0.8751, allocations: 5.031 kB / 1.191 GB, free: 7.504 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/0.9063, allocations: 7.631 MB / 1.199 GB, free: 4.152 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.336/9.243, allocations: 30.22 kB / 1.199 GB, free: 4.129 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.299149912083521]