Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.01326/0.01326, allocations: 100.9 kB / 15.73 MB, free: 6.473 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.002156/0.002156, allocations: 195 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.44/2.44, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.452/4.452, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 66.98 kB / 0.9504 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5015/0.5029, allocations: 140.4 MB / 1.087 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.004057/0.507, allocations: 0.6766 MB / 1.088 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00259/0.5096, allocations: 1.348 MB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.5098, allocations: 4 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008574/0.5107, allocations: 183.5 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.511, allocations: 103.7 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.5125, allocations: 243.2 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001088/0.5136, allocations: 487.7 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.5138, allocations: 19.98 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006265/0.5144, allocations: 203.6 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006588/0.5151, allocations: 207.6 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.5153, allocations: 20 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.5158, allocations: 83.94 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006405/0.5164, allocations: 251.5 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005343/0.517, allocations: 155.3 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.518, allocations: 478.1 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.496e-05/0.5181, allocations: 4 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.915e-06/0.5181, allocations: 0 / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.961e-05/0.5181, allocations: 0 / 1.092 GB, free: 13.62 MB / 0.8575 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.002175/0.5203, allocations: 0.6309 MB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.65e-05/0.5204, allocations: 8.031 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.818e-05/0.5205, allocations: 38.73 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003052/0.5208, allocations: 28.66 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.5219, allocations: 392 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/0.5219, allocations: 16.36 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.5221, allocations: 20.12 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005721/0.5227, allocations: 200 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.5227, allocations: 0 / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.5227, allocations: 0 / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.5227, allocations: 0 / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003306/0.5231, allocations: 111.9 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/0.524, allocations: 387.1 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008779/0.5249, allocations: 311.6 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.5252, allocations: 134.5 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.5253, allocations: 0 / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009738/0.5263, allocations: 281.6 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 3.336e-06/0.5263, allocations: 3.938 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001612/0.5279, allocations: 0.4932 MB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/0.5281, allocations: 118.8 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009309/0.529, allocations: 396.5 kB / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.5292, allocations: 37.7 kB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/0.5295, allocations: 152.8 kB / 1.095 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.5296, allocations: 47.44 kB / 1.095 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003396/0.53, allocations: 113.6 kB / 1.096 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002268/0.5302, allocations: 350.8 kB / 1.096 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.5304, allocations: 83.89 kB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008805/0.5313, allocations: 468 kB / 1.096 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005386/0.5319, allocations: 253.5 kB / 1.097 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.5319, allocations: 4 kB / 1.097 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009357/0.5328, allocations: 333.1 kB / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.5329, allocations: 4 kB / 1.097 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.5329, allocations: 7.938 kB / 1.097 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.347e-05/0.533, allocations: 8 kB / 1.097 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.5333, allocations: 27.92 kB / 1.097 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.5333, allocations: 4 kB / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.5346, allocations: 76.11 kB / 1.097 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.5346, allocations: 16.09 kB / 1.097 GB, free: 7.684 MB / 0.8575 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.0004568/0.5351, allocations: 195.9 kB / 1.097 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.5352, allocations: 23.72 kB / 1.097 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.5353, allocations: 37.89 kB / 1.097 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.5354, allocations: 4 kB / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.139e-05/0.5354, allocations: 4 kB / 1.097 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.5354, allocations: 3.938 kB / 1.097 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/0.5359, allocations: 289.4 kB / 1.098 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.536, allocations: 0 / 1.098 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.536, allocations: 11.94 kB / 1.098 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.536, allocations: 0 / 1.098 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.5361, allocations: 7.984 kB / 1.098 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.5361, allocations: 4 kB / 1.098 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5361, allocations: 0 / 1.098 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.5372, allocations: 441 kB / 1.098 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.5373, allocations: 104.8 kB / 1.098 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.5374, allocations: 4 kB / 1.098 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.5376, allocations: 7.938 kB / 1.098 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.5377, allocations: 15.98 kB / 1.098 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/0.5378, allocations: 19.92 kB / 1.098 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005949/0.5384, allocations: 287 kB / 1.099 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5384, allocations: 0 / 1.099 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007814/0.5392, allocations: 83.94 kB / 1.099 GB, free: 6.07 MB / 0.8575 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.002014/0.5412, allocations: 0.9963 MB / 1.1 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008694/0.5421, allocations: 261.6 kB / 1.1 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.5421, allocations: 0 / 1.1 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.5425, allocations: 147.9 kB / 1.1 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.5431, allocations: 24.64 kB / 1.1 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006559/0.5496, allocations: 3.265 MB / 1.103 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.5502, allocations: 0.7597 MB / 1.104 GB, free: 372 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002588/0.5505, allocations: 54.11 kB / 1.104 GB, free: 320 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.5508, allocations: 83.41 kB / 1.104 GB, free: 240 kB / 0.8575 GB Notification: Performance of SimCode: time 1.233e-06/0.5508, allocations: 0 / 1.104 GB, free: 240 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04664/0.5975, allocations: 7.606 MB / 1.111 GB, free: 8.84 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.72, allocations: 8.047 kB / 1.111 GB, free: 8.832 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches