Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.TimeTable,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",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.0012/0.0012, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001302/0.001302, allocations: 194.5 kB / 16.26 MB, free: 6.625 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.246/1.246, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.385/2.385, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 71.89 kB / 0.8689 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5383/0.5396, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001592/0.5412, allocations: 0.7406 MB / 1.018 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.5426, allocations: 1.335 MB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.5426, allocations: 4 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.543, allocations: 187.6 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.5431, allocations: 103.7 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000552/0.5437, allocations: 211.5 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.5441, allocations: 483.7 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.5441, allocations: 7.984 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.5443, allocations: 207.6 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.5446, allocations: 199.6 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.5446, allocations: 28 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.5448, allocations: 95.86 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.5451, allocations: 259.5 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.5452, allocations: 151.3 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003765/0.5456, allocations: 469 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.5456, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5456, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.968e-06/0.5456, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 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.0008015/0.5464, allocations: 0.6424 MB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.5465, allocations: 12.03 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.5465, allocations: 34.73 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.5466, allocations: 36.56 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.547, allocations: 380.1 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.5471, allocations: 12.38 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.168e-05/0.5471, allocations: 24.36 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.5474, allocations: 184.7 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.5474, allocations: 7.938 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.5474, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5474, allocations: 4 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.5476, allocations: 111.9 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.5479, allocations: 383 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.5483, allocations: 319.6 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.5485, allocations: 126.6 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-06/0.5485, allocations: 0 / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003354/0.5488, allocations: 291.2 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.5488, allocations: 0 / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0006811/0.5495, allocations: 0.4971 MB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.5496, allocations: 110.8 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.5499, allocations: 408.4 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.704e-05/0.55, allocations: 37.7 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.5501, allocations: 156.7 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.5502, allocations: 39.59 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.5503, allocations: 117.5 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.5504, allocations: 342.8 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.5505, allocations: 87.95 kB / 1.025 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.5509, allocations: 459 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.5512, allocations: 261.4 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5512, allocations: 0 / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004252/0.5516, allocations: 332.8 kB / 1.026 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.5517, allocations: 8 kB / 1.026 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.5517, allocations: 4 kB / 1.026 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.5517, allocations: 4 kB / 1.026 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.5518, allocations: 27.92 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.5518, allocations: 8.344 kB / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007034/0.5525, allocations: 76.52 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.5526, allocations: 11.98 kB / 1.027 GB, free: 8.445 MB / 0.7794 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.0001645/0.5527, allocations: 192.5 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.5528, allocations: 35.56 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.5528, allocations: 34.12 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5528, allocations: 4 kB / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5529, allocations: 3.984 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.5529, allocations: 8 kB / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.5531, allocations: 281.5 kB / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5531, allocations: 3.938 kB / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.517e-05/0.5531, allocations: 4 kB / 1.027 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.5531, allocations: 4 kB / 1.027 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.5531, allocations: 11.98 kB / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5531, allocations: 0 / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5532, allocations: 0 / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004598/0.5536, allocations: 442.1 kB / 1.028 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.5537, allocations: 104.7 kB / 1.028 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.5537, allocations: 7.984 kB / 1.028 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.5538, allocations: 4 kB / 1.028 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.5539, allocations: 15.98 kB / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.5539, allocations: 15.98 kB / 1.028 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002505/0.5541, allocations: 295 kB / 1.028 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5541, allocations: 3.938 kB / 1.028 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003226/0.5545, allocations: 76 kB / 1.028 GB, free: 6.828 MB / 0.7794 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.0007404/0.5552, allocations: 1.002 MB / 1.029 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003595/0.5556, allocations: 263.6 kB / 1.029 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5556, allocations: 0 / 1.029 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.5558, allocations: 144.7 kB / 1.029 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.556, allocations: 30.89 kB / 1.029 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.559, allocations: 3.28 MB / 1.033 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.5593, allocations: 0.7712 MB / 1.033 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001127/0.5594, allocations: 53.88 kB / 1.033 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.5595, allocations: 83.41 kB / 1.034 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of SimCode: time 2.345e-06/0.5595, allocations: 0 / 1.034 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.72/3.279, allocations: 7.444 MB / 1.041 GB, free: 9.77 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/3.28, allocations: 226.3 kB / 1.041 GB, free: 9.508 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.365/6.644, allocations: 3.938 kB / 1.041 GB, free: 9.504 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches