Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.TimeTable,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.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,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.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009514/0.009514, allocations: 103 kB / 15.73 MB, free: 5.492 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.001721/0.001721, allocations: 190.2 kB / 16.67 MB, free: 5.422 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.382/2.382, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.91 kB / 0.9509 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9848/0.986, allocations: 140.4 MB / 1.088 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001656/0.9877, allocations: 0.682 MB / 1.089 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.9893, allocations: 1.338 MB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.355e-05/0.9894, allocations: 2.094 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004765/0.9899, allocations: 190.8 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.99, allocations: 108.9 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.9907, allocations: 226.7 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005444/0.9912, allocations: 0.492 MB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.9913, allocations: 9.703 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.9915, allocations: 202.7 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003328/0.9919, allocations: 204.3 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.154e-05/0.992, allocations: 21.19 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.9922, allocations: 90.5 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003812/0.9926, allocations: 254 kB / 1.092 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.9928, allocations: 149.8 kB / 1.092 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005741/0.9934, allocations: 481.4 kB / 1.092 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.9934, allocations: 0 / 1.092 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9934, allocations: 0.9375 kB / 1.092 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.9934, allocations: 0 / 1.092 GB, free: 3.609 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.0009344/0.9943, allocations: 0.6284 MB / 1.093 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.9944, allocations: 13 kB / 1.093 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.9945, allocations: 30.75 kB / 1.093 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005669/0.9951, allocations: 389.7 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.9951, allocations: 10.3 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.669e-05/0.9952, allocations: 21.27 kB / 1.093 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.9955, allocations: 197.4 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.9955, allocations: 1.094 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.9956, allocations: 2.047 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.9956, allocations: 4.781 kB / 1.093 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.9958, allocations: 112.1 kB / 1.094 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.9962, allocations: 384 kB / 1.094 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.9967, allocations: 324.2 kB / 1.094 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.9969, allocations: 126.6 kB / 1.094 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.9969, allocations: 9.5 kB / 1.094 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004782/0.9974, allocations: 280.2 kB / 1.095 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.9974, allocations: 0 / 1.095 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0008589/0.9983, allocations: 0.4944 MB / 1.095 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.9983, allocations: 115.2 kB / 1.095 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000437/0.9988, allocations: 395.6 kB / 1.096 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.087e-05/0.9988, allocations: 42.05 kB / 1.096 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.999, allocations: 153.9 kB / 1.096 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.999, allocations: 42.17 kB / 1.096 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.9992, allocations: 113.9 kB / 1.096 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.285e-05/0.9993, allocations: 347.5 kB / 1.096 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.9994, allocations: 82.3 kB / 1.096 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004817/0.9999, allocations: 462.9 kB / 1.097 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/1, allocations: 256.6 kB / 1.097 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1, allocations: 1.062 kB / 1.097 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005/1.001, allocations: 336.5 kB / 1.097 GB, free: 384 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.001, allocations: 6.938 kB / 1.097 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/1.001, allocations: 4.219 kB / 1.097 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/1.001, allocations: 5.156 kB / 1.097 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/1.001, allocations: 28.91 kB / 1.097 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.001, allocations: 6.297 kB / 1.097 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007909/1.002, allocations: 75.31 kB / 1.098 GB, free: 352 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/1.002, allocations: 11.66 kB / 1.098 GB, free: 352 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.0001998/1.002, allocations: 194.3 kB / 1.098 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/1.002, allocations: 33.52 kB / 1.098 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/1.002, allocations: 37.64 kB / 1.098 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/1.002, allocations: 5.891 kB / 1.098 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.002, allocations: 9.781 kB / 1.098 GB, free: 156 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.002, allocations: 6.016 kB / 1.098 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/1.002, allocations: 282.5 kB / 1.098 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.002, allocations: 1.219 kB / 1.098 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.01e-05/1.002, allocations: 8.188 kB / 1.098 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/1.002, allocations: 2.031 kB / 1.098 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/1.002, allocations: 5.672 kB / 1.098 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.003, allocations: 2.062 kB / 1.098 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.003, allocations: 1.469 kB / 1.098 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006051/1.003, allocations: 443.2 kB / 1.099 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.813e-05/1.003, allocations: 103.2 kB / 1.099 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/1.003, allocations: 8.031 kB / 1.099 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.845e-05/1.003, allocations: 2.203 kB / 1.099 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/1.003, allocations: 16.5 kB / 1.099 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/1.003, allocations: 16.08 kB / 1.099 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003522/1.004, allocations: 288.5 kB / 1.099 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/1.004, allocations: 4 kB / 1.099 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004417/1.004, allocations: 76.67 kB / 1.099 GB, free: 15.46 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.0002199/1.005, allocations: 143.2 kB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005401/1.005, allocations: 246.9 kB / 1.099 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.005, allocations: 8.188 kB / 1.099 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002734/1.005, allocations: 151.9 kB / 1.1 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/1.006, allocations: 25.86 kB / 1.1 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/1.007, allocations: 0.5621 MB / 1.1 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/1.007, allocations: 0.7695 MB / 1.101 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001509/1.007, allocations: 50.84 kB / 1.101 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.914e-05/1.007, allocations: 28.69 kB / 1.101 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/1.007, allocations: 0 / 1.101 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of Templates: time 0.01038/1.018, allocations: 5.016 MB / 1.106 GB, free: 13.84 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches