Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_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.009527/0.009527, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.001286/0.001286, allocations: 192.2 kB / 16.67 MB, free: 5.973 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.532/2.532, allocations: 469.4 MB / 0.7421 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 71.88 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8727/0.8751, allocations: 159.1 MB / 1.22 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002292/0.8774, allocations: 0.8493 MB / 1.221 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.8795, allocations: 1.459 MB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.8797, allocations: 4 kB / 1.222 GB, free: 8 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005122/0.8802, allocations: 199.4 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.8804, allocations: 111.6 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.8814, allocations: 364.1 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0009378/0.8824, allocations: 0.8738 MB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.8826, allocations: 92.25 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005649/0.8831, allocations: 347.5 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005213/0.8837, allocations: 267.2 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002328/0.8839, allocations: 44 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003281/0.8843, allocations: 111.9 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000546/0.8848, allocations: 344.2 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005431/0.8854, allocations: 274.8 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.8865, allocations: 0.907 MB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8865, allocations: 0 / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8865, allocations: 0 / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.217e-05/0.8866, allocations: 0 / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002107/0.8887, allocations: 0.9072 MB / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.8887, allocations: 12.62 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.45e-05/0.8888, allocations: 46.73 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003837/0.8892, allocations: 52.66 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.8903, allocations: 0.5452 MB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.8903, allocations: 24.61 kB / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.8905, allocations: 36.38 kB / 1.227 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.891, allocations: 302.2 kB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.891, allocations: 3.938 kB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.891, allocations: 15.92 kB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.8911, allocations: 4 kB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.8914, allocations: 219.8 kB / 1.228 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.8938, allocations: 1.18 MB / 1.229 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007427/0.8946, allocations: 479.8 kB / 1.23 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.8949, allocations: 178.6 kB / 1.23 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.8949, allocations: 4 kB / 1.23 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005657/0.8955, allocations: 339.3 kB / 1.23 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=24): time 1.894e-06/0.8955, allocations: 0 / 1.23 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24): time 0.001269/0.8968, allocations: 0.6299 MB / 1.231 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.918e-05/0.8969, allocations: 114.8 kB / 1.231 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009061/0.8978, allocations: 0.5994 MB / 1.231 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.8979, allocations: 45.64 kB / 1.231 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.8982, allocations: 221.5 kB / 1.232 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.094e-05/0.8983, allocations: 55.62 kB / 1.232 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003225/0.8986, allocations: 185.5 kB / 1.232 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.8988, allocations: 358.8 kB / 1.232 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.899, allocations: 131.8 kB / 1.232 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008197/0.8998, allocations: 0.7147 MB / 1.233 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.9002, allocations: 304.6 kB / 1.233 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.9002, allocations: 0 / 1.233 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007487/0.9009, allocations: 418 kB / 1.234 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.901, allocations: 12.03 kB / 1.234 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.901, allocations: 4 kB / 1.234 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.901, allocations: 7.938 kB / 1.234 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.9012, allocations: 35.86 kB / 1.234 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.753e-05/0.9012, allocations: 11.98 kB / 1.234 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.9026, allocations: 133.8 kB / 1.234 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.9027, allocations: 19.98 kB / 1.234 GB, free: 3.332 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003176/0.903, allocations: 262 kB / 1.234 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.9031, allocations: 43.72 kB / 1.234 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.123e-05/0.9032, allocations: 47.38 kB / 1.234 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.9032, allocations: 11.94 kB / 1.234 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.9032, allocations: 0 / 1.234 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.9032, allocations: 11.92 kB / 1.234 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.9036, allocations: 397.3 kB / 1.235 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.9036, allocations: 0 / 1.235 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.9037, allocations: 11.98 kB / 1.235 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.9037, allocations: 0 / 1.235 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.9037, allocations: 8 kB / 1.235 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.9037, allocations: 3.938 kB / 1.235 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.9037, allocations: 0 / 1.235 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007212/0.9044, allocations: 0.5178 MB / 1.235 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.9046, allocations: 124.9 kB / 1.235 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/0.9047, allocations: 7.984 kB / 1.235 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.9049, allocations: 19.92 kB / 1.235 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.905, allocations: 27.97 kB / 1.235 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.905, allocations: 12 kB / 1.235 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005509/0.9056, allocations: 439 kB / 1.236 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9056, allocations: 0 / 1.236 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000521/0.9061, allocations: 115.8 kB / 1.236 GB, free: 1.195 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001235/0.9073, allocations: 1.122 MB / 1.237 GB, free: 44 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006827/0.908, allocations: 349.7 kB / 1.237 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.908, allocations: 0 / 1.237 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000267/0.9083, allocations: 192.5 kB / 1.237 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.9087, allocations: 45.89 kB / 1.238 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005443/0.9141, allocations: 4.391 MB / 1.242 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.9145, allocations: 0.8311 MB / 1.243 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002635/0.9148, allocations: 99.05 kB / 1.243 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.915, allocations: 127.4 kB / 1.243 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of SimCode: time 4.81e-07/0.915, allocations: 0 / 1.243 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.9447, allocations: 11.57 MB / 1.254 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.622/9.567, allocations: 6.234 kB / 1.254 GB, free: 14.5 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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_Logical_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches