Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001186/0.001186, 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.001186/0.001186, 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.185/1.185, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.208/2.208, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.91 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5116/0.5128, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00179/0.5147, allocations: 0.7445 MB / 1.017 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.5163, allocations: 1.346 MB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.26e-05/0.5164, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0004104/0.5168, allocations: 179.6 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.5169, allocations: 107.7 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.5175, allocations: 202.9 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004542/0.518, allocations: 443.8 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.518, allocations: 19.98 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.5183, allocations: 187.6 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.5186, allocations: 195.6 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.909e-05/0.5187, allocations: 12 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.5189, allocations: 71.94 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002998/0.5192, allocations: 243.5 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.5194, allocations: 139.3 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004505/0.5198, allocations: 461 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5199, allocations: 4 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.92e-07/0.5199, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.5199, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 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.000868/0.5207, allocations: 0.6384 MB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.5208, allocations: 8.031 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.5208, allocations: 46.67 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.5209, allocations: 28.66 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.5214, allocations: 376.1 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.5214, allocations: 16.38 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/0.5215, allocations: 24.36 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.5218, allocations: 180.7 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.5218, allocations: 7.875 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.5218, allocations: 8 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.5218, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.522, allocations: 107.9 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.5224, allocations: 395 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.5228, allocations: 315.6 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.5229, allocations: 126.5 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.631e-06/0.5229, allocations: 4 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003657/0.5233, allocations: 285.5 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.5233, allocations: 4 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0007424/0.5241, allocations: 0.4972 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.5241, allocations: 114.8 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00038/0.5245, allocations: 396.5 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.372e-05/0.5246, allocations: 37.7 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.5247, allocations: 156.7 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.5248, allocations: 47.44 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.5249, allocations: 117.6 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.525, allocations: 346.8 kB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.5252, allocations: 79.95 kB / 1.025 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/0.5256, allocations: 463 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.5259, allocations: 261.4 kB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.5259, allocations: 0 / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004579/0.5264, allocations: 329.2 kB / 1.026 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.5264, allocations: 8 kB / 1.026 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5264, allocations: 4 kB / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.5264, allocations: 4 kB / 1.026 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.5266, allocations: 35.92 kB / 1.026 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.5266, allocations: 7.938 kB / 1.026 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007317/0.5273, allocations: 56 kB / 1.026 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.5274, allocations: 19.98 kB / 1.026 GB, free: 8.492 MB / 0.7794 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.0002044/0.5276, allocations: 196.5 kB / 1.026 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.5276, allocations: 31.56 kB / 1.026 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.676e-05/0.5277, allocations: 33.89 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.5277, allocations: 0 / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5277, allocations: 4 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5277, allocations: 0 / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.5279, allocations: 285.5 kB / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5279, allocations: 7.938 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/0.528, allocations: 7.938 kB / 1.027 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.528, allocations: 4 kB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.528, allocations: 7.984 kB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.528, allocations: 0 / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.528, allocations: 7.938 kB / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004874/0.5285, allocations: 432.1 kB / 1.027 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.5286, allocations: 112.8 kB / 1.027 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.5286, allocations: 7.984 kB / 1.027 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-05/0.5287, allocations: 4 kB / 1.027 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.5288, allocations: 23.86 kB / 1.027 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.5288, allocations: 15.98 kB / 1.027 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002615/0.5291, allocations: 287 kB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5291, allocations: 0 / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003492/0.5294, allocations: 76 kB / 1.028 GB, free: 6.879 MB / 0.7794 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.0008161/0.5302, allocations: 1.004 MB / 1.029 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.5306, allocations: 257.4 kB / 1.029 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5306, allocations: 0 / 1.029 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.5308, allocations: 144.5 kB / 1.029 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.5311, allocations: 28.64 kB / 1.029 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003501/0.5346, allocations: 3.292 MB / 1.032 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.5349, allocations: 0.7677 MB / 1.033 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.5351, allocations: 45.95 kB / 1.033 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.5352, allocations: 87.39 kB / 1.033 GB, free: 1.02 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5352, allocations: 0 / 1.033 GB, free: 1.02 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3038/0.839, allocations: 7.226 MB / 1.04 GB, free: 10.01 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/0.8392, allocations: 221.6 kB / 1.041 GB, free: 9.754 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.072/2.911, allocations: 0 / 1.041 GB, free: 9.754 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches