Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01036/0.01036, allocations: 101.2 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 194.1 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.329/2.329, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 70.95 kB / 0.9504 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2845, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002108/0.2867, allocations: 0.6871 MB / 1.088 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.2886, allocations: 1.34 MB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.339e-05/0.2887, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.2892, allocations: 191.5 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.2894, allocations: 103.7 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008645/0.2903, allocations: 235.2 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005964/0.2909, allocations: 495.7 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.102e-05/0.291, allocations: 15.97 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.2913, allocations: 207.7 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003998/0.2917, allocations: 199.6 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.2918, allocations: 20 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.2921, allocations: 87.88 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003526/0.2925, allocations: 259.5 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002347/0.2927, allocations: 147.3 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005338/0.2932, allocations: 474.2 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2933, allocations: 0 / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2933, allocations: 7.938 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.2933, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 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.001083/0.2944, allocations: 0.6348 MB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.2944, allocations: 8.031 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.2945, allocations: 34.73 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.2946, allocations: 32.66 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006073/0.2952, allocations: 388 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.2953, allocations: 12.38 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-05/0.2953, allocations: 28.12 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.2956, allocations: 188.1 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2957, allocations: 0 / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.2957, allocations: 4 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2957, allocations: 0 / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.2959, allocations: 111.9 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.2964, allocations: 383.1 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/0.2969, allocations: 315.6 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.297, allocations: 126.5 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.2971, allocations: 8 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004454/0.2975, allocations: 281.6 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.2975, allocations: 4 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0008284/0.2984, allocations: 0.5015 MB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.2984, allocations: 114.8 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004167/0.2989, allocations: 396.5 kB / 1.095 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.365e-05/0.2989, allocations: 41.7 kB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.2991, allocations: 148.8 kB / 1.095 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.2991, allocations: 47.39 kB / 1.095 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.2994, allocations: 117.6 kB / 1.096 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2995, allocations: 342.8 kB / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.2997, allocations: 87.95 kB / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.3002, allocations: 464.5 kB / 1.096 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.3005, allocations: 253.5 kB / 1.097 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.3005, allocations: 3.984 kB / 1.097 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005155/0.301, allocations: 324.8 kB / 1.097 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.301, allocations: 12.39 kB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3011, allocations: 8 kB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3011, allocations: 4 kB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.3012, allocations: 28.16 kB / 1.097 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.3013, allocations: 8 kB / 1.097 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007382/0.302, allocations: 75.84 kB / 1.097 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.302, allocations: 12 kB / 1.097 GB, free: 7.625 MB / 0.8575 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.0002121/0.3023, allocations: 207.8 kB / 1.097 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.3023, allocations: 23.72 kB / 1.097 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.683e-05/0.3024, allocations: 33.89 kB / 1.097 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3024, allocations: 3.984 kB / 1.097 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.3024, allocations: 4 kB / 1.097 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3024, allocations: 0 / 1.097 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.3027, allocations: 285.4 kB / 1.098 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3027, allocations: 7.938 kB / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.644e-05/0.3027, allocations: 8 kB / 1.098 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3027, allocations: 0 / 1.098 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.3027, allocations: 8 kB / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3027, allocations: 3.984 kB / 1.098 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3028, allocations: 4 kB / 1.098 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005256/0.3033, allocations: 439.6 kB / 1.098 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.3034, allocations: 100.8 kB / 1.098 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.3034, allocations: 11.98 kB / 1.098 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.961e-05/0.3035, allocations: 0 / 1.098 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.3036, allocations: 15.98 kB / 1.098 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.3036, allocations: 12 kB / 1.098 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002901/0.3039, allocations: 295 kB / 1.099 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3039, allocations: 0 / 1.099 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003889/0.3043, allocations: 83.92 kB / 1.099 GB, free: 6.008 MB / 0.8575 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.0009456/0.3053, allocations: 1.003 MB / 1.1 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004498/0.3057, allocations: 256.3 kB / 1.1 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3057, allocations: 0 / 1.1 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.3059, allocations: 143.9 kB / 1.1 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.3062, allocations: 20.64 kB / 1.1 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/0.3103, allocations: 3.277 MB / 1.103 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.3107, allocations: 0.7674 MB / 1.104 GB, free: 296 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001719/0.3109, allocations: 54.11 kB / 1.104 GB, free: 244 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.3111, allocations: 83.41 kB / 1.104 GB, free: 164 kB / 0.8575 GB Notification: Performance of SimCode: time 9.92e-07/0.3111, allocations: 0 / 1.104 GB, free: 164 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.3363, allocations: 7.771 MB / 1.112 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/8.474, allocations: 13.69 kB / 1.112 GB, free: 8.613 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches