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.01164/0.01164, allocations: 102 kB / 15.73 MB, free: 6.062 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.002237/0.002237, allocations: 195.4 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 2.012/2.012, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.03/3.03, allocations: 390.3 MB / 0.6648 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001409, allocations: 59.91 kB / 0.9504 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769/1.77, allocations: 140.4 MB / 1.087 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.003042/1.773, allocations: 0.6748 MB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002981/1.776, allocations: 1.34 MB / 1.089 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.967e-05/1.777, allocations: 0.9688 kB / 1.089 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008239/1.777, allocations: 187.9 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002588/1.778, allocations: 104.4 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/1.779, allocations: 233.6 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001049/1.78, allocations: 0.4896 MB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.879e-05/1.78, allocations: 8.812 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004763/1.781, allocations: 203.8 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000619/1.781, allocations: 216.3 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001271/1.781, allocations: 20.78 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003952/1.782, allocations: 85.64 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00066/1.782, allocations: 251.3 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000326/1.783, allocations: 152.5 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001174/1.784, allocations: 473.7 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.784, allocations: 1.156 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.293e-06/1.784, allocations: 0 / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.022e-05/1.784, allocations: 0 / 1.092 GB, free: 3.07 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.001667/1.786, allocations: 0.6327 MB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.877e-05/1.786, allocations: 9.094 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.003e-05/1.786, allocations: 34.97 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/1.786, allocations: 29.72 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009718/1.787, allocations: 390.1 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/1.787, allocations: 14.19 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/1.787, allocations: 29.22 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005962/1.788, allocations: 189.5 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/1.788, allocations: 0.7812 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/1.788, allocations: 1.531 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/1.788, allocations: 0.9062 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/1.788, allocations: 112.5 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008483/1.789, allocations: 387.8 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008757/1.79, allocations: 319.9 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/1.79, allocations: 126.8 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/1.79, allocations: 2.297 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007899/1.791, allocations: 283.5 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 2.605e-06/1.791, allocations: 0 / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001707/1.793, allocations: 0.4904 MB / 1.095 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.793, allocations: 126.8 kB / 1.095 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009207/1.794, allocations: 396 kB / 1.095 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001403/1.794, allocations: 38.52 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/1.794, allocations: 153.2 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.416e-05/1.794, allocations: 37.34 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003706/1.795, allocations: 118.7 kB / 1.096 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.795, allocations: 343.1 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/1.795, allocations: 87.47 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009043/1.796, allocations: 461.9 kB / 1.096 GB, free: 124 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005507/1.797, allocations: 257 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.797, allocations: 4.906 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001078/1.798, allocations: 337 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/1.798, allocations: 6.438 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/1.798, allocations: 4.438 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.394e-05/1.798, allocations: 5.812 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/1.798, allocations: 32.75 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.621e-05/1.798, allocations: 10.34 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/1.8, allocations: 77.06 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/1.8, allocations: 14.48 kB / 1.097 GB, free: 15.75 MB / 0.8731 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.0005778/1.8, allocations: 198.8 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/1.8, allocations: 29.97 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/1.801, allocations: 33.36 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/1.801, allocations: 2.219 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/1.801, allocations: 1.875 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/1.801, allocations: 1.672 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006335/1.801, allocations: 286.6 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.801, allocations: 0.8125 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/1.801, allocations: 5.047 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/1.801, allocations: 1.281 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/1.801, allocations: 13.69 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/1.801, allocations: 2.969 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.801, allocations: 1.125 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/1.803, allocations: 437 kB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/1.803, allocations: 106 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.359e-05/1.803, allocations: 4.078 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/1.803, allocations: 6.25 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.602e-05/1.803, allocations: 20.88 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/1.803, allocations: 12.31 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007144/1.804, allocations: 288.4 kB / 1.099 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of sort global known variables: time 5.31e-07/1.804, allocations: 0 / 1.099 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008958/1.805, allocations: 76.89 kB / 1.099 GB, free: 14.89 MB / 0.8731 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.001824/1.807, allocations: 1.004 MB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001211/1.808, allocations: 265 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.808, allocations: 0 / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004735/1.809, allocations: 148.2 kB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/1.809, allocations: 27.75 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008415/1.818, allocations: 3.258 MB / 1.103 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006975/1.818, allocations: 0.7653 MB / 1.104 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004812/1.819, allocations: 48.94 kB / 1.104 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/1.819, allocations: 84.25 kB / 1.104 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of SimCode: time 2.174e-06/1.819, allocations: 4 kB / 1.104 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06619/1.885, allocations: 7.616 MB / 1.111 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/14.67, allocations: 18.97 kB / 1.112 GB, free: 10.55 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