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: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008051/0.008051, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001632/0.001632, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 15.09 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 2.271/2.271, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 59.91 kB / 0.9509 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9812/0.9826, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002164/0.9849, allocations: 0.6959 MB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.9868, allocations: 1.336 MB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.416e-05/0.9869, allocations: 1.062 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005874/0.9875, allocations: 191.8 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.9877, allocations: 100.9 kB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007982/0.9885, allocations: 237.1 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006872/0.9892, allocations: 492.1 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.455e-05/0.9893, allocations: 9.969 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/0.9896, allocations: 207.7 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004058/0.99, allocations: 207.8 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.319e-05/0.9901, allocations: 21.03 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.9903, allocations: 86.27 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004225/0.9908, allocations: 250.3 kB / 1.092 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.991, allocations: 149.7 kB / 1.092 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007305/0.9917, allocations: 488.1 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.9918, allocations: 0 / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9918, allocations: 0.7188 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.9918, allocations: 4 kB / 1.092 GB, free: 3.328 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.001056/0.9928, allocations: 0.6432 MB / 1.093 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.9929, allocations: 9.719 kB / 1.093 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.9931, allocations: 35 kB / 1.093 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006316/0.9937, allocations: 382.1 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.9937, allocations: 13.5 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.189e-05/0.9938, allocations: 21.52 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.9942, allocations: 197.9 kB / 1.094 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.9942, allocations: 0.75 kB / 1.094 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.9943, allocations: 5.484 kB / 1.094 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.9943, allocations: 1.938 kB / 1.094 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.9945, allocations: 108 kB / 1.094 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.9951, allocations: 391.5 kB / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006113/0.9957, allocations: 316.1 kB / 1.094 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.9959, allocations: 122.3 kB / 1.094 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.9959, allocations: 5.656 kB / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005877/0.9965, allocations: 288.2 kB / 1.095 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.9965, allocations: 0 / 1.095 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001056/0.9976, allocations: 0.4982 MB / 1.095 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.9977, allocations: 114.6 kB / 1.095 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.9982, allocations: 396.4 kB / 1.096 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.576e-05/0.9983, allocations: 41.27 kB / 1.096 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.9985, allocations: 158.5 kB / 1.096 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/0.9985, allocations: 37.84 kB / 1.096 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.9987, allocations: 114.2 kB / 1.096 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.9988, allocations: 347.8 kB / 1.096 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.999, allocations: 82.11 kB / 1.096 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005987/0.9996, allocations: 466.9 kB / 1.097 GB, free: 412 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/1, allocations: 255.7 kB / 1.097 GB, free: 216 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1, allocations: 1.062 kB / 1.097 GB, free: 216 kB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006513/1.001, allocations: 333.4 kB / 1.097 GB, free: 84 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/1.001, allocations: 7.172 kB / 1.097 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.001, allocations: 3.594 kB / 1.097 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/1.001, allocations: 10.09 kB / 1.097 GB, free: 80 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/1.001, allocations: 33.39 kB / 1.097 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/1.001, allocations: 5.797 kB / 1.097 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008717/1.002, allocations: 75.48 kB / 1.098 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/1.002, allocations: 14.78 kB / 1.098 GB, free: 40 kB / 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.0003371/1.002, allocations: 199.1 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/1.002, allocations: 33.06 kB / 1.098 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.063e-05/1.002, allocations: 33.08 kB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/1.002, allocations: 3.625 kB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/1.002, allocations: 0 / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/1.002, allocations: 3.422 kB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/1.003, allocations: 290.3 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.003, allocations: 0 / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.141e-05/1.003, allocations: 9.172 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.003, allocations: 1.031 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/1.003, allocations: 11.08 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/1.003, allocations: 0.9062 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.003, allocations: 1.969 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007674/1.004, allocations: 439.3 kB / 1.099 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/1.004, allocations: 103.4 kB / 1.099 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/1.004, allocations: 3.266 kB / 1.099 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/1.004, allocations: 10.78 kB / 1.099 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/1.004, allocations: 17.03 kB / 1.099 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/1.004, allocations: 12.2 kB / 1.099 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004197/1.004, allocations: 287.5 kB / 1.099 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.004, allocations: 0 / 1.099 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005489/1.005, allocations: 81.78 kB / 1.099 GB, free: 15.17 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.0002982/1.005, allocations: 144.3 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006467/1.006, allocations: 253.4 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/1.006, allocations: 0.5312 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003009/1.006, allocations: 147.2 kB / 1.1 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/1.007, allocations: 40.72 kB / 1.1 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/1.008, allocations: 0.5592 MB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/1.008, allocations: 0.7637 MB / 1.101 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001748/1.008, allocations: 57.88 kB / 1.101 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.981e-05/1.008, allocations: 25.88 kB / 1.101 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of SimCode: time 3.71e-07/1.008, allocations: 0 / 1.101 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of Templates: time 0.01266/1.021, allocations: 5.027 MB / 1.106 GB, free: 13.53 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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