Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009158/0.0009158, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005589/0.005589, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.304/1.304, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.47/2.47, allocations: 462.6 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.0002891, allocations: 10.69 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2352, allocations: 159.6 MB / 1.059 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0006945/0.236, allocations: 421.5 kB / 1.059 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.2374, allocations: 1.346 MB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.74e-05/0.2374, allocations: 4 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.2378, allocations: 179.6 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.2379, allocations: 99.78 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005075/0.2384, allocations: 214.4 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003922/0.2388, allocations: 443.7 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.2389, allocations: 11.98 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.2391, allocations: 183.7 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.2393, allocations: 199.6 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.412e-05/0.2394, allocations: 12 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.2396, allocations: 67.89 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.2398, allocations: 243.4 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.24, allocations: 165 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.2404, allocations: 455 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2404, allocations: 0 / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2404, allocations: 0 / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2404, allocations: 0 / 1.063 GB, free: 0.7969 MB / 0.8106 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.0006799/0.2411, allocations: 0.5256 MB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.2411, allocations: 15.97 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.2412, allocations: 34.73 kB / 1.063 GB, free: 164 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.13e-05/0.2412, allocations: 32.66 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.2417, allocations: 380 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.2417, allocations: 20.36 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.2418, allocations: 20.38 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.242, allocations: 192.6 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.242, allocations: 3.938 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.242, allocations: 0 / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2421, allocations: 0 / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.2422, allocations: 119.9 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.2426, allocations: 379.2 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.243, allocations: 315.6 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.2431, allocations: 126.6 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.2431, allocations: 3.984 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003592/0.2435, allocations: 290.9 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.2435, allocations: 0 / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0006739/0.2442, allocations: 0.4971 MB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.2442, allocations: 114.7 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.2446, allocations: 396.5 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.147e-05/0.2447, allocations: 41.7 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.2448, allocations: 164.7 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.2448, allocations: 39.5 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.2449, allocations: 29.7 kB / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.245, allocations: 342.8 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.2451, allocations: 87.95 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004034/0.2455, allocations: 459.5 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.2457, allocations: 257.5 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2458, allocations: 0 / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004106/0.2462, allocations: 337 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.2462, allocations: 8 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2462, allocations: 4 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2462, allocations: 4 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.2463, allocations: 27.92 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.2464, allocations: 11.98 kB / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006946/0.2471, allocations: 78.44 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.2471, allocations: 8 kB / 1.068 GB, free: 11.06 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.0001756/0.2473, allocations: 195.9 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.2473, allocations: 31.66 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.2474, allocations: 33.83 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2474, allocations: 4 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.2474, allocations: 4 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.2474, allocations: 4 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.2476, allocations: 289.4 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2476, allocations: 4.062 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.506e-05/0.2476, allocations: 8 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2476, allocations: 4 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.2477, allocations: 11.98 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.2477, allocations: 3.938 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2477, allocations: 0 / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.2481, allocations: 436.1 kB / 1.069 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/0.2482, allocations: 116.7 kB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.2483, allocations: 7.984 kB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.111e-05/0.2484, allocations: 4 kB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.2484, allocations: 11.98 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.2484, allocations: 15.98 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002517/0.2487, allocations: 291 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2487, allocations: 4 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003202/0.249, allocations: 79.94 kB / 1.069 GB, free: 9.434 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.0007448/0.2498, allocations: 0.9966 MB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000341/0.2501, allocations: 253.7 kB / 1.071 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2501, allocations: 0 / 1.071 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.2503, allocations: 152 kB / 1.071 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.2506, allocations: 25.41 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.2536, allocations: 3.303 MB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.2538, allocations: 0.7677 MB / 1.075 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.254, allocations: 45.94 kB / 1.075 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.2541, allocations: 83.41 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.2541, allocations: 4 kB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9528/1.207, allocations: 7.121 MB / 1.082 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002363/1.207, allocations: 231.6 kB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/3.295, allocations: 3.938 kB / 1.082 GB, free: 12.43 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches