Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008518/0.008518, allocations: 100.7 kB / 15.73 MB, free: 6 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.001949/0.001949, allocations: 188.1 kB / 16.67 MB, free: 5.914 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.419/1.419, 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 11.1.0-maint.11.x/package.mo): time 2.613/2.613, allocations: 469.8 MB / 0.7425 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.89 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.908/0.9093, allocations: 159.1 MB / 1.221 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001889/0.9112, allocations: 0.6936 MB / 1.221 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.9131, allocations: 1.345 MB / 1.223 GB, free: 44 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.309e-05/0.9131, allocations: 0 / 1.223 GB, free: 44 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005151/0.9136, allocations: 191.5 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.9138, allocations: 103.7 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007496/0.9145, allocations: 234 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005402/0.915, allocations: 499.6 kB / 1.224 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.9151, allocations: 0 / 1.224 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.9153, allocations: 203.7 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.9156, allocations: 215.5 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.243e-05/0.9157, allocations: 20 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.9159, allocations: 83.94 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003205/0.9162, allocations: 256.4 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.9164, allocations: 155.3 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005133/0.9169, allocations: 471 kB / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.9169, allocations: 0 / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9169, allocations: 0 / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.9169, allocations: 0 / 1.225 GB, free: 13.67 MB / 0.9512 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.0009912/0.9179, allocations: 0.6539 MB / 1.226 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.9179, allocations: 8.031 kB / 1.226 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.9181, allocations: 32.78 kB / 1.226 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004973/0.9186, allocations: 384.3 kB / 1.226 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.9186, allocations: 16.38 kB / 1.226 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.332e-05/0.9187, allocations: 20.38 kB / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.919, allocations: 200.6 kB / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.919, allocations: 4.125 kB / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.919, allocations: 3.938 kB / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.919, allocations: 0 / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.9192, allocations: 111.9 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.9196, allocations: 383.1 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/0.92, allocations: 315.6 kB / 1.227 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.9202, allocations: 122.6 kB / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.9202, allocations: 0 / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004693/0.9207, allocations: 285.6 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.9207, allocations: 0 / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.0007966/0.9215, allocations: 0.4933 MB / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.9216, allocations: 118.8 kB / 1.228 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004283/0.922, allocations: 400.5 kB / 1.228 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.602e-05/0.9221, allocations: 37.69 kB / 1.228 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.9222, allocations: 152.8 kB / 1.229 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.9222, allocations: 47.61 kB / 1.229 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.9224, allocations: 121.5 kB / 1.229 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.9225, allocations: 342.8 kB / 1.229 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.9227, allocations: 87.95 kB / 1.229 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/0.9232, allocations: 471.5 kB / 1.23 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.9235, allocations: 249.5 kB / 1.23 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.9235, allocations: 4 kB / 1.23 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004714/0.9239, allocations: 329 kB / 1.23 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.924, allocations: 13.81 kB / 1.23 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.924, allocations: 4 kB / 1.23 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.924, allocations: 4 kB / 1.23 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.9242, allocations: 35.91 kB / 1.23 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.9242, allocations: 4.406 kB / 1.23 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007078/0.9249, allocations: 72.56 kB / 1.23 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.9249, allocations: 15.94 kB / 1.23 GB, free: 7.746 MB / 0.9512 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.0002074/0.9251, allocations: 196.5 kB / 1.23 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.9252, allocations: 35.75 kB / 1.23 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.9252, allocations: 33.89 kB / 1.23 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.9252, allocations: 4 kB / 1.23 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.9252, allocations: 0 / 1.23 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.9252, allocations: 7.984 kB / 1.231 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.9255, allocations: 281.4 kB / 1.231 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.9255, allocations: 0 / 1.231 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-05/0.9255, allocations: 11.92 kB / 1.231 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.9255, allocations: 7.938 kB / 1.231 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.9255, allocations: 4 kB / 1.231 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.9255, allocations: 0 / 1.231 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9255, allocations: 4 kB / 1.231 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005365/0.9261, allocations: 438.6 kB / 1.231 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.9262, allocations: 112.9 kB / 1.231 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/0.9262, allocations: 7.938 kB / 1.231 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.9263, allocations: 7.984 kB / 1.231 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.9264, allocations: 15.98 kB / 1.231 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.9264, allocations: 12 kB / 1.231 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000297/0.9267, allocations: 291 kB / 1.232 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.9267, allocations: 0 / 1.232 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003811/0.9271, allocations: 83.86 kB / 1.232 GB, free: 6.129 MB / 0.9512 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.0002308/0.9273, allocations: 132.3 kB / 1.232 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003998/0.9277, allocations: 259.9 kB / 1.232 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9277, allocations: 0 / 1.232 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.9278, allocations: 115.9 kB / 1.232 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.9281, allocations: 26.83 kB / 1.232 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008901/0.929, allocations: 0.5727 MB / 1.233 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.9294, allocations: 0.7675 MB / 1.234 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.9295, allocations: 45.95 kB / 1.234 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.9295, allocations: 35.42 kB / 1.234 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of SimCode: time 4.91e-07/0.9295, allocations: 0 / 1.234 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of Templates: time 0.008805/0.9384, allocations: 5.042 MB / 1.239 GB, free: 15.12 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches