Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008373/0.0008373, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0009459/0.0009459, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.883/0.883, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.736/1.736, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.275e-06/2.275e-06, allocations: 3.938 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.25e-05/1.478e-05, allocations: 5.516 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001125/0.00114, allocations: 0.6607 MB / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.002605, allocations: 1.358 MB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.813e-05/0.002653, allocations: 0 / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003708/0.003024, allocations: 183.5 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.903e-05/0.003103, allocations: 111.6 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.003582, allocations: 234.1 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.00393, allocations: 491.8 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.00397, allocations: 19.86 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.004169, allocations: 251.7 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.004411, allocations: 215.6 kB / 1.003 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.577e-05/0.004457, allocations: 20 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.004618, allocations: 99.83 kB / 1.003 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.004842, allocations: 271.4 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.259e-05/0.004935, allocations: 115.8 kB / 1.004 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.005308, allocations: 0.5222 MB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.00531, allocations: 7.938 kB / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.32e-07/0.005311, allocations: 0 / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.005315, allocations: 3.938 kB / 1.004 GB, free: 8.941 MB / 0.9636 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.0006147/0.00593, allocations: 0.5708 MB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.005963, allocations: 12.75 kB / 1.005 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.046e-05/0.005993, allocations: 34.75 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.385e-05/0.006077, allocations: 40.73 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.006407, allocations: 317.8 kB / 1.005 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.006421, allocations: 24.34 kB / 1.005 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.006462, allocations: 20.38 kB / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.006662, allocations: 180.7 kB / 1.005 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.006669, allocations: 4.125 kB / 1.005 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.006685, allocations: 8.375 kB / 1.005 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.006691, allocations: 4.125 kB / 1.005 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.006805, allocations: 103.9 kB / 1.005 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.007052, allocations: 294.4 kB / 1.006 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.007362, allocations: 315.6 kB / 1.006 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.007479, allocations: 126.5 kB / 1.006 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/0.007487, allocations: 7.984 kB / 1.006 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002678/0.007755, allocations: 273.6 kB / 1.006 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=18): time 9.01e-07/0.007756, allocations: 0 / 1.006 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18): time 0.0005395/0.008295, allocations: 0.505 MB / 1.007 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.008345, allocations: 110.8 kB / 1.007 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.008611, allocations: 396.5 kB / 1.007 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.008646, allocations: 41.64 kB / 1.007 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.008733, allocations: 160.7 kB / 1.008 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.008763, allocations: 43.72 kB / 1.008 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.975e-05/0.008863, allocations: 113.6 kB / 1.008 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003136/0.009176, allocations: 342.8 kB / 1.008 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.181e-05/0.009258, allocations: 87.95 kB / 1.008 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/0.009719, allocations: 1.084 MB / 1.009 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.009908, allocations: 257.4 kB / 1.009 GB, free: 2.945 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.00991, allocations: 0 / 1.009 GB, free: 2.945 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003151/0.01023, allocations: 337 kB / 1.01 GB, free: 2.609 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.01024, allocations: 9.562 kB / 1.01 GB, free: 2.602 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01025, allocations: 4 kB / 1.01 GB, free: 2.598 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.01026, allocations: 7.938 kB / 1.01 GB, free: 2.59 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.265e-05/0.01035, allocations: 27.92 kB / 1.01 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.01036, allocations: 7.938 kB / 1.01 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/0.01071, allocations: 76.78 kB / 1.01 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.01073, allocations: 15.98 kB / 1.01 GB, free: 2.465 MB / 0.9636 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.0001296/0.01086, allocations: 191.9 kB / 1.01 GB, free: 2.27 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.01089, allocations: 39.78 kB / 1.01 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.01093, allocations: 33.95 kB / 1.01 GB, free: 2.195 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.01093, allocations: 7.938 kB / 1.01 GB, free: 2.188 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01094, allocations: 0 / 1.01 GB, free: 2.188 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01094, allocations: 8 kB / 1.01 GB, free: 2.18 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.01109, allocations: 224.6 kB / 1.01 GB, free: 1.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01109, allocations: 0 / 1.01 GB, free: 1.918 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.828e-06/0.0111, allocations: 11.92 kB / 1.01 GB, free: 1.906 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.0111, allocations: 4 kB / 1.01 GB, free: 1.902 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.01111, allocations: 8.125 kB / 1.01 GB, free: 1.895 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.01112, allocations: 7.938 kB / 1.01 GB, free: 1.887 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01112, allocations: 0 / 1.01 GB, free: 1.887 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.01147, allocations: 422.5 kB / 1.011 GB, free: 1.449 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.01149, allocations: 27.84 kB / 1.011 GB, free: 1.422 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.01151, allocations: 4 kB / 1.011 GB, free: 1.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.137e-05/0.01156, allocations: 11.94 kB / 1.011 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.0116, allocations: 19.91 kB / 1.011 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.01161, allocations: 12 kB / 1.011 GB, free: 1.375 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001906/0.0118, allocations: 291 kB / 1.011 GB, free: 1.094 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01181, allocations: 0 / 1.011 GB, free: 1.094 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002397/0.01204, allocations: 83.86 kB / 1.011 GB, free: 1.012 MB / 0.9636 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.0005876/0.01263, allocations: 0.9997 MB / 1.012 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002739/0.01291, allocations: 255.6 kB / 1.012 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01291, allocations: 0 / 1.012 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.01302, allocations: 123.9 kB / 1.013 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.0132, allocations: 21.27 kB / 1.013 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.01572, allocations: 3.254 MB / 1.016 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.123e-05/0.01581, allocations: 157.1 kB / 1.016 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.987e-05/0.01589, allocations: 53.5 kB / 1.016 GB, free: 11.92 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/0.01597, allocations: 84.47 kB / 1.016 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of SimCode: time 6.01e-07/0.01598, allocations: 0 / 1.016 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.03431, allocations: 8.77 MB / 1.025 GB, free: 3.383 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.712/6.746, allocations: 0 / 1.025 GB, free: 3.383 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --stepSize=0.006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.7246725987643]