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.0008293/0.0008293, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000894/0.000894, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9005/0.9005, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.694/1.694, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.282e-05, allocations: 2.281 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.00131/0.001332, allocations: 0.6893 MB / 0.9816 GB, free: 1.887 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.002841, allocations: 1.349 MB / 0.983 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.002911, allocations: 0 / 0.983 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0004731/0.003384, allocations: 191.5 kB / 0.9831 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.7e-05/0.003471, allocations: 111.6 kB / 0.9832 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005919/0.004063, allocations: 238 kB / 0.9835 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003493/0.004413, allocations: 487.7 kB / 0.9839 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.208e-05/0.004455, allocations: 7.938 kB / 0.9839 GB, free: 15.51 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.004649, allocations: 255.6 kB / 0.9842 GB, free: 15.26 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.004939, allocations: 219.6 kB / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/0.004993, allocations: 20 kB / 0.9844 GB, free: 15.03 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.005161, allocations: 95.84 kB / 0.9845 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.005393, allocations: 283.4 kB / 0.9848 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.45e-05/0.005487, allocations: 111.8 kB / 0.9849 GB, free: 14.55 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.005906, allocations: 0.5221 MB / 0.9854 GB, free: 14.02 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.005911, allocations: 0 / 0.9854 GB, free: 14.02 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.823e-06/0.005913, allocations: 0 / 0.9854 GB, free: 14.02 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.005919, allocations: 4 kB / 0.9854 GB, free: 14.02 MB / 0.948 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.0008111/0.00673, allocations: 0.5668 MB / 0.986 GB, free: 13.42 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.006785, allocations: 12.03 kB / 0.986 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.856e-05/0.006834, allocations: 34.73 kB / 0.986 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.006944, allocations: 32.8 kB / 0.986 GB, free: 13.33 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/0.007384, allocations: 325.7 kB / 0.9863 GB, free: 12.99 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.007404, allocations: 16.38 kB / 0.9864 GB, free: 12.97 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.007451, allocations: 20.38 kB / 0.9864 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.007703, allocations: 184.7 kB / 0.9866 GB, free: 12.76 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.007713, allocations: 4.125 kB / 0.9866 GB, free: 12.75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.007731, allocations: 8.359 kB / 0.9866 GB, free: 12.75 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.007738, allocations: 4.125 kB / 0.9866 GB, free: 12.74 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.007869, allocations: 107.9 kB / 0.9867 GB, free: 12.64 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.008161, allocations: 290.4 kB / 0.987 GB, free: 12.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/0.008601, allocations: 311.6 kB / 0.9872 GB, free: 11.97 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.008723, allocations: 130.5 kB / 0.9874 GB, free: 11.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.008733, allocations: 4 kB / 0.9874 GB, free: 11.83 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003897/0.009123, allocations: 285.6 kB / 0.9876 GB, free: 11.53 MB / 0.948 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.009124, allocations: 0 / 0.9876 GB, free: 11.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=18): time 0.0005886/0.009713, allocations: 0.4977 MB / 0.9881 GB, free: 11.03 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.009786, allocations: 114.8 kB / 0.9882 GB, free: 10.89 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.01007, allocations: 396.5 kB / 0.9886 GB, free: 10.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.01011, allocations: 37.69 kB / 0.9887 GB, free: 10.45 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.0102, allocations: 156.7 kB / 0.9888 GB, free: 10.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.01023, allocations: 43.73 kB / 0.9888 GB, free: 10.25 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.01033, allocations: 121.5 kB / 0.989 GB, free: 10.13 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.92e-05/0.01042, allocations: 342.8 kB / 0.9893 GB, free: 9.785 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.01051, allocations: 87.95 kB / 0.9894 GB, free: 9.699 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/0.01102, allocations: 1.087 MB / 0.9904 GB, free: 8.332 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.01123, allocations: 261.4 kB / 0.9907 GB, free: 8.027 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.01123, allocations: 0 / 0.9907 GB, free: 8.027 MB / 0.948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003268/0.01156, allocations: 325.1 kB / 0.991 GB, free: 7.703 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.01158, allocations: 8 kB / 0.991 GB, free: 7.695 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.01159, allocations: 4 kB / 0.991 GB, free: 7.691 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.0116, allocations: 7.938 kB / 0.991 GB, free: 7.684 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.01174, allocations: 31.92 kB / 0.991 GB, free: 7.652 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.01175, allocations: 12.08 kB / 0.9911 GB, free: 7.641 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.01212, allocations: 78.17 kB / 0.9911 GB, free: 7.566 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.01213, allocations: 12.12 kB / 0.9911 GB, free: 7.555 MB / 0.948 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.0001502/0.01228, allocations: 195.7 kB / 0.9913 GB, free: 7.355 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.01231, allocations: 31.81 kB / 0.9914 GB, free: 7.324 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.01236, allocations: 33.95 kB / 0.9914 GB, free: 7.289 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.01236, allocations: 7.938 kB / 0.9914 GB, free: 7.281 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.01237, allocations: 4 kB / 0.9914 GB, free: 7.277 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.01237, allocations: 4 kB / 0.9914 GB, free: 7.273 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.01254, allocations: 236.5 kB / 0.9916 GB, free: 7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.01254, allocations: 4 kB / 0.9916 GB, free: 6.996 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-06/0.01255, allocations: 0 / 0.9916 GB, free: 6.996 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.01256, allocations: 7.938 kB / 0.9916 GB, free: 6.988 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.01257, allocations: 4 kB / 0.9916 GB, free: 6.984 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.01257, allocations: 7.922 kB / 0.9917 GB, free: 6.977 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01257, allocations: 0 / 0.9917 GB, free: 6.977 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.01294, allocations: 422.5 kB / 0.9921 GB, free: 6.539 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.01297, allocations: 27.81 kB / 0.9921 GB, free: 6.512 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.013, allocations: 8 kB / 0.9921 GB, free: 6.504 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.874e-05/0.01305, allocations: 11.92 kB / 0.9921 GB, free: 6.492 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.01309, allocations: 15.98 kB / 0.9921 GB, free: 6.477 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.01312, allocations: 19.92 kB / 0.9921 GB, free: 6.457 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001933/0.01331, allocations: 287 kB / 0.9924 GB, free: 6.176 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.31e-07/0.01331, allocations: 4 kB / 0.9924 GB, free: 6.172 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002723/0.01358, allocations: 75.88 kB / 0.9925 GB, free: 6.098 MB / 0.948 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.0006974/0.01428, allocations: 0.9995 MB / 0.9935 GB, free: 5.066 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003933/0.01467, allocations: 267.6 kB / 0.9937 GB, free: 4.805 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01468, allocations: 0 / 0.9937 GB, free: 4.805 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.01479, allocations: 119.9 kB / 0.9938 GB, free: 4.688 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.015, allocations: 21.06 kB / 0.9939 GB, free: 4.668 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.01752, allocations: 3.258 MB / 0.997 GB, free: 1.211 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.01763, allocations: 153.2 kB / 0.9972 GB, free: 1.047 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.869e-05/0.01772, allocations: 49.94 kB / 0.9972 GB, free: 0.9961 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.271e-05/0.01781, allocations: 80.47 kB / 0.9973 GB, free: 0.918 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/0.01781, allocations: 0 / 0.9973 GB, free: 0.918 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.03995, allocations: 8.786 MB / 1.006 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.05/7.09, allocations: 3.578 kB / 1.006 GB, free: 8.441 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.086898741312325]