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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001037/0.001037, 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.001029/0.001029, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.588/2.588, allocations: 469.4 MB / 0.742 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.69 kB / 0.9083 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2416, 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.001789/0.2434, allocations: 0.6835 MB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.245, allocations: 1.343 MB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.2451, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.2455, allocations: 191.5 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.2456, allocations: 107.7 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.2463, allocations: 225.6 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004804/0.2468, allocations: 479.7 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.2468, allocations: 7.984 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.247, allocations: 203.7 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.2474, allocations: 207.6 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.2475, allocations: 20 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.2477, allocations: 79.94 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.248, allocations: 259.5 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.2482, allocations: 155.3 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.2487, allocations: 471 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2487, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2487, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.2487, allocations: 0 / 1.068 GB, free: 10.11 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.0009119/0.2497, allocations: 0.6384 MB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2497, allocations: 12.03 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.728e-05/0.2497, allocations: 34.75 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.2499, allocations: 28.66 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.2503, allocations: 396 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.2504, allocations: 16.38 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/0.2504, allocations: 20.38 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.2507, allocations: 184.7 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2507, allocations: 3.938 kB / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.2508, allocations: 3.984 kB / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2508, allocations: 4 kB / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.2509, allocations: 111.9 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.2513, allocations: 379.2 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.2518, allocations: 319.6 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.2519, allocations: 122.6 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.252, allocations: 7.922 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004003/0.2524, allocations: 275 kB / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.2524, allocations: 0 / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0007783/0.2532, allocations: 0.5014 MB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.2532, allocations: 118.7 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003888/0.2536, allocations: 392.5 kB / 1.071 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/0.2537, allocations: 41.7 kB / 1.071 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.2538, allocations: 156.8 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.2539, allocations: 47.38 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.254, allocations: 113.6 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2541, allocations: 346.8 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.2543, allocations: 83.95 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000447/0.2547, allocations: 456.2 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.255, allocations: 261.4 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.255, allocations: 0 / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004654/0.2555, allocations: 336.9 kB / 1.073 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2555, allocations: 8 kB / 1.073 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2555, allocations: 0 / 1.073 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.2555, allocations: 8 kB / 1.073 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.2557, allocations: 27.92 kB / 1.073 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.2557, allocations: 16.06 kB / 1.073 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007484/0.2564, allocations: 72.5 kB / 1.073 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.2565, allocations: 12 kB / 1.073 GB, free: 4.172 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.0001889/0.2567, allocations: 193.7 kB / 1.073 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.2567, allocations: 31.66 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.926e-05/0.2568, allocations: 33.89 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2568, allocations: 4 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2568, allocations: 4 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2568, allocations: 0 / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.257, allocations: 289.4 kB / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.257, allocations: 3.938 kB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.581e-05/0.2571, allocations: 4 kB / 1.074 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.2571, allocations: 3.938 kB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.2571, allocations: 7.984 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.2571, allocations: 7.938 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2571, allocations: 0 / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004983/0.2576, allocations: 435.9 kB / 1.074 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.2577, allocations: 108.8 kB / 1.074 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.2577, allocations: 0 / 1.074 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.917e-05/0.2578, allocations: 4 kB / 1.074 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.2579, allocations: 23.97 kB / 1.074 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.2579, allocations: 15.98 kB / 1.074 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002771/0.2582, allocations: 295 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.713e-06/0.2582, allocations: 3.938 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003597/0.2586, allocations: 79.88 kB / 1.075 GB, free: 2.559 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.0008189/0.2594, allocations: 0.9974 MB / 1.076 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003831/0.2598, allocations: 257.2 kB / 1.076 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2598, allocations: 0 / 1.076 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.26, allocations: 151.9 kB / 1.076 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.2602, allocations: 25.45 kB / 1.076 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003254/0.2635, allocations: 3.263 MB / 1.079 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.2638, allocations: 0.7713 MB / 1.08 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.2639, allocations: 50.11 kB / 1.08 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.264, allocations: 87.41 kB / 1.08 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.264, allocations: 0 / 1.08 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.2872, allocations: 7.528 MB / 1.088 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.105/7.392, allocations: 3.625 kB / 1.088 GB, free: 5.402 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 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.csv","/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