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.001519/0.001519, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001779/0.001779, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.219/1.219, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.413/2.413, allocations: 461.9 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 66.59 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2368, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00168/0.2385, allocations: 0.7449 MB / 1.053 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.2401, allocations: 1.369 MB / 1.054 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.537e-05/0.2402, allocations: 0 / 1.054 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003948/0.2406, allocations: 187.6 kB / 1.054 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.2407, allocations: 95.73 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005677/0.2413, allocations: 210.8 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004212/0.2417, allocations: 439.7 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.2418, allocations: 8 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.242, allocations: 183.6 kB / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.2422, allocations: 195.6 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.003e-05/0.2423, allocations: 16 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.2425, allocations: 71.94 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002732/0.2428, allocations: 239.5 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.243, allocations: 139.3 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003944/0.2434, allocations: 459 kB / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2434, allocations: 0 / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2434, allocations: 4 kB / 1.056 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2434, allocations: 0 / 1.056 GB, free: 3.898 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.0008603/0.2443, allocations: 0.6345 MB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2443, allocations: 11.97 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.2444, allocations: 42.73 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.2445, allocations: 28.66 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.2449, allocations: 384 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.2449, allocations: 16.31 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.229e-05/0.245, allocations: 24.36 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.2453, allocations: 188.6 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2453, allocations: 11.94 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.2453, allocations: 0 / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.2453, allocations: 0 / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.2455, allocations: 115.9 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.2458, allocations: 379.1 kB / 1.058 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.2462, allocations: 319.6 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.2464, allocations: 122.6 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-06/0.2464, allocations: 0 / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003582/0.2468, allocations: 289.5 kB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.2468, allocations: 0 / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0007179/0.2475, allocations: 0.4932 MB / 1.059 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.2476, allocations: 110.8 kB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.2479, allocations: 400.5 kB / 1.06 GB, free: 112 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.248, allocations: 41.7 kB / 1.06 GB, free: 64 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.2481, allocations: 148.8 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.2482, allocations: 47.39 kB / 1.06 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.2483, allocations: 121.5 kB / 1.06 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.557e-05/0.2484, allocations: 342.8 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.2486, allocations: 87.94 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004326/0.249, allocations: 463.5 kB / 1.061 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.2492, allocations: 253.5 kB / 1.061 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.2493, allocations: 4 kB / 1.061 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004418/0.2497, allocations: 340.8 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.2497, allocations: 4 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2497, allocations: 4 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2498, allocations: 8 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2499, allocations: 27.92 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.2499, allocations: 4 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007019/0.2506, allocations: 64.41 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.2506, allocations: 15.98 kB / 1.062 GB, free: 13.97 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.000165/0.2508, allocations: 196.2 kB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.2509, allocations: 35.55 kB / 1.062 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.2509, allocations: 37.89 kB / 1.062 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.2509, allocations: 4 kB / 1.062 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2509, allocations: 0 / 1.062 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2509, allocations: 0 / 1.062 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.2511, allocations: 285.5 kB / 1.062 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2512, allocations: 3.938 kB / 1.062 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.702e-05/0.2512, allocations: 7.938 kB / 1.062 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2512, allocations: 3.938 kB / 1.062 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.2512, allocations: 11.98 kB / 1.062 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2512, allocations: 0 / 1.062 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2512, allocations: 4 kB / 1.062 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.2517, allocations: 432.6 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.2517, allocations: 104.7 kB / 1.063 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.2518, allocations: 11.98 kB / 1.063 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-05/0.2519, allocations: 4 kB / 1.063 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.2519, allocations: 15.98 kB / 1.063 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.2519, allocations: 19.98 kB / 1.063 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002625/0.2522, allocations: 291 kB / 1.063 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2522, allocations: 0 / 1.063 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003338/0.2526, allocations: 75.94 kB / 1.063 GB, free: 12.36 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.0007613/0.2533, allocations: 1.001 MB / 1.064 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.2537, allocations: 255.7 kB / 1.064 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2537, allocations: 0 / 1.064 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.2539, allocations: 144.7 kB / 1.065 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.2541, allocations: 34.36 kB / 1.065 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.2572, allocations: 3.293 MB / 1.068 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.2575, allocations: 0.7599 MB / 1.069 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001123/0.2576, allocations: 50.08 kB / 1.069 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.2577, allocations: 87.39 kB / 1.069 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of SimCode: time 1.343e-06/0.2577, allocations: 0 / 1.069 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03289/0.2906, allocations: 7.239 MB / 1.076 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/0.2908, allocations: 216 kB / 1.076 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.077, allocations: 4 kB / 1.076 GB, free: 15.25 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