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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_11_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_11_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.001484/0.001484, 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.001393/0.001393, allocations: 197.8 kB / 16.26 MB, free: 6.629 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.279/1.279, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.547/2.547, allocations: 469.8 MB / 0.7421 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002079/0.00208, allocations: 68.81 kB / 0.9082 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2324, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00166/0.2341, allocations: 0.7488 MB / 1.064 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.2357, allocations: 1.351 MB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.2357, allocations: 4 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003886/0.2361, allocations: 179.6 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.2362, allocations: 103.7 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005631/0.2368, allocations: 215.6 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.2373, allocations: 479.7 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.2373, allocations: 8 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.2375, allocations: 203.6 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.2378, allocations: 215.6 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.731e-05/0.2379, allocations: 20 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.2381, allocations: 79.89 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002934/0.2384, allocations: 259.5 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.2385, allocations: 151.3 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000435/0.239, allocations: 471 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.239, allocations: 0 / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.71e-07/0.239, allocations: 0 / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.239, allocations: 0 / 1.068 GB, free: 10.06 MB / 0.8262 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.0008891/0.2399, allocations: 0.6399 MB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.2399, allocations: 12.03 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.24, allocations: 34.73 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.2401, allocations: 32.66 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.2406, allocations: 384 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.2406, allocations: 12.38 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-05/0.2406, allocations: 24.3 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.2409, allocations: 192.7 kB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.241, allocations: 3.938 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.241, allocations: 0 / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.241, allocations: 4 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.2412, allocations: 111.9 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.2415, allocations: 379.2 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.242, allocations: 323.6 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.2422, allocations: 118.6 kB / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.2422, allocations: 4 kB / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003724/0.2426, allocations: 282.7 kB / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.2426, allocations: 0 / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0007583/0.2433, allocations: 0.501 MB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.2434, allocations: 118.8 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.2438, allocations: 400.5 kB / 1.071 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/0.2439, allocations: 33.7 kB / 1.071 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.244, allocations: 152.8 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.2441, allocations: 47.39 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.2442, allocations: 121.6 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2444, allocations: 338.8 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.2445, allocations: 83.95 kB / 1.072 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000501/0.245, allocations: 463 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.2453, allocations: 261.5 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2453, allocations: 3.938 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004699/0.2458, allocations: 332.8 kB / 1.073 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.2458, allocations: 8 kB / 1.073 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2458, allocations: 4 kB / 1.073 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2459, allocations: 4 kB / 1.073 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.246, allocations: 27.92 kB / 1.073 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.246, allocations: 8.406 kB / 1.073 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006963/0.2467, allocations: 68.58 kB / 1.073 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.2467, allocations: 19.98 kB / 1.073 GB, free: 4.125 MB / 0.8262 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.0001845/0.2469, allocations: 188.8 kB / 1.073 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.247, allocations: 39.64 kB / 1.073 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.847e-05/0.247, allocations: 37.89 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.247, allocations: 0 / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2471, allocations: 0 / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2471, allocations: 4 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.2473, allocations: 285.4 kB / 1.074 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2473, allocations: 3.938 kB / 1.074 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.456e-05/0.2474, allocations: 11.94 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2474, allocations: 4.234 kB / 1.074 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.2474, allocations: 7.984 kB / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2474, allocations: 0 / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2474, allocations: 4 kB / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005358/0.2479, allocations: 443.6 kB / 1.074 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/0.248, allocations: 100.8 kB / 1.074 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.2481, allocations: 11.98 kB / 1.074 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.2481, allocations: 0 / 1.074 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.2482, allocations: 23.98 kB / 1.074 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.2482, allocations: 15.98 kB / 1.074 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000283/0.2485, allocations: 283 kB / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2485, allocations: 0 / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003305/0.2488, allocations: 83.92 kB / 1.075 GB, free: 2.512 MB / 0.8262 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.0008664/0.2497, allocations: 0.9943 MB / 1.076 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003999/0.2501, allocations: 267.6 kB / 1.076 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2501, allocations: 0.8125 kB / 1.076 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.2503, allocations: 151.9 kB / 1.076 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.2506, allocations: 24.64 kB / 1.076 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.254, allocations: 3.291 MB / 1.079 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.2544, allocations: 0.7635 MB / 1.08 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.2545, allocations: 45.95 kB / 1.08 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.2546, allocations: 87.39 kB / 1.08 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.2546, allocations: 0 / 1.08 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2843/0.5389, allocations: 7.44 MB / 1.088 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002773/0.5393, allocations: 221.3 kB / 1.088 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.407, allocations: 0 / 1.088 GB, free: 5.199 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > 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/jenkins1/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