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.001709/0.001709, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 197.5 kB / 16.53 MB, free: 6.66 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.558/2.558, allocations: 469.8 MB / 0.7424 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 70.2 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2475, allocations: 159.1 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001668/0.2492, allocations: 0.6897 MB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.2508, allocations: 1.343 MB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.488e-05/0.2508, allocations: 4 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.2512, allocations: 191.5 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.2514, allocations: 103.7 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005726/0.2519, allocations: 234.5 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.2524, allocations: 471.8 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.2524, allocations: 7.984 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.2526, allocations: 207.6 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.2529, allocations: 207.6 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.016e-05/0.253, allocations: 20 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.2532, allocations: 87.94 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003282/0.2535, allocations: 251.5 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.2537, allocations: 151.3 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004569/0.2542, allocations: 471 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2542, allocations: 0 / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2542, allocations: 4 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.2542, allocations: 0 / 1.068 GB, free: 9.762 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.0008902/0.2551, allocations: 0.6423 MB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.2552, allocations: 8.031 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.2552, allocations: 34.73 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.2553, allocations: 32.66 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.2558, allocations: 384 kB / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.2558, allocations: 16.36 kB / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.296e-05/0.2559, allocations: 24.38 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.2561, allocations: 192.6 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.2562, allocations: 3.938 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.2562, allocations: 0 / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.2562, allocations: 4 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.2564, allocations: 107.9 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.2568, allocations: 387.1 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.2572, allocations: 315.6 kB / 1.07 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.2574, allocations: 118.6 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.2574, allocations: 11.98 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003738/0.2577, allocations: 281.5 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.2578, allocations: 4 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0007506/0.2585, allocations: 0.4971 MB / 1.071 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.2586, allocations: 106.8 kB / 1.071 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.259, allocations: 400.5 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/0.2591, allocations: 41.7 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.2592, allocations: 152.7 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.2593, allocations: 51.38 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.2594, allocations: 113.6 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2596, allocations: 350.8 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.2597, allocations: 83.95 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004907/0.2602, allocations: 460.7 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.2605, allocations: 253.5 kB / 1.073 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2605, allocations: 4 kB / 1.073 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004751/0.2609, allocations: 332.8 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.261, allocations: 8.406 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.261, allocations: 8 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.261, allocations: 4 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.2611, allocations: 27.92 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.2611, allocations: 8.625 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/0.2618, allocations: 73.84 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.2618, allocations: 12 kB / 1.074 GB, free: 3.828 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.0001967/0.2621, allocations: 199.9 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.2621, allocations: 27.66 kB / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.2622, allocations: 33.89 kB / 1.074 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2622, allocations: 0 / 1.074 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2622, allocations: 4 kB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.2622, allocations: 240 / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.2624, allocations: 285.4 kB / 1.074 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.2625, allocations: 7.938 kB / 1.074 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.59e-05/0.2625, allocations: 15.86 kB / 1.074 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2625, allocations: 4 kB / 1.074 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.2625, allocations: 11.98 kB / 1.074 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2625, allocations: 0 / 1.074 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2625, allocations: 0 / 1.074 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.263, allocations: 435.7 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/0.2631, allocations: 104.8 kB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.2632, allocations: 16 kB / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.763e-05/0.2632, allocations: 0 / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.2633, allocations: 15.98 kB / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.2633, allocations: 19.98 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002816/0.2636, allocations: 287 kB / 1.075 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2636, allocations: 0 / 1.075 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003779/0.264, allocations: 79.94 kB / 1.075 GB, free: 2.215 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.0008836/0.2649, allocations: 0.9978 MB / 1.076 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003868/0.2653, allocations: 264.3 kB / 1.076 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2653, allocations: 0 / 1.076 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.2655, allocations: 143.9 kB / 1.077 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.2657, allocations: 24.64 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/0.2691, allocations: 3.269 MB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.2694, allocations: 0.7674 MB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.2695, allocations: 53.94 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.2697, allocations: 83.41 kB / 1.081 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.2697, allocations: 3.938 kB / 1.081 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.353/2.623, allocations: 7.513 MB / 1.088 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/15.14, allocations: 15.45 kB / 1.088 GB, free: 5.043 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