Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_10_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_10_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.001066/0.001066, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00117/0.00117, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.262/1.262, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.326/2.326, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 67.91 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6474/0.6488, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.00218/0.6511, allocations: 0.9165 MB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.6528, allocations: 1.459 MB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.6529, allocations: 0 / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0004432/0.6534, allocations: 191.5 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.6535, allocations: 103.7 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007805/0.6543, allocations: 332.3 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007011/0.655, allocations: 0.7605 MB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.6552, allocations: 96.23 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.6554, allocations: 303.4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.6557, allocations: 243.3 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.6559, allocations: 20 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.6561, allocations: 75.88 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003388/0.6564, allocations: 311.3 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002522/0.6567, allocations: 250.8 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006787/0.6574, allocations: 0.8709 MB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6574, allocations: 3.938 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6574, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.6574, allocations: 0 / 1.023 GB, free: 12.85 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001292/0.6587, allocations: 0.8841 MB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.6587, allocations: 12.03 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.227e-05/0.6588, allocations: 46.73 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.659, allocations: 56.38 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006679/0.6596, allocations: 0.5332 MB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.6597, allocations: 28.59 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.865e-05/0.6598, allocations: 36.38 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.6602, allocations: 315.3 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.6602, allocations: 3.938 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.6602, allocations: 4 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.6603, allocations: 8 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.6606, allocations: 219.8 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.6622, allocations: 1.184 MB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005489/0.6628, allocations: 475.6 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.663, allocations: 182.6 kB / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.663, allocations: 4 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003744/0.6634, allocations: 331.3 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=24): time 1.382e-06/0.6634, allocations: 0 / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24): time 0.0008954/0.6643, allocations: 0.6379 MB / 1.027 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.6644, allocations: 114.8 kB / 1.027 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005699/0.6649, allocations: 0.5993 MB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.728e-05/0.665, allocations: 41.7 kB / 1.028 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.6652, allocations: 222.5 kB / 1.028 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.6653, allocations: 47.39 kB / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.6655, allocations: 185.5 kB / 1.028 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.6656, allocations: 366.8 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.6658, allocations: 127.9 kB / 1.029 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006872/0.6665, allocations: 0.7068 MB / 1.03 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.6668, allocations: 304.6 kB / 1.03 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.6668, allocations: 0 / 1.03 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005636/0.6674, allocations: 424.6 kB / 1.03 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.6674, allocations: 8 kB / 1.03 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.6674, allocations: 3.938 kB / 1.03 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.6674, allocations: 8 kB / 1.03 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.6676, allocations: 31.92 kB / 1.03 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.6676, allocations: 8 kB / 1.03 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.6688, allocations: 129.9 kB / 1.031 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.6688, allocations: 16.25 kB / 1.031 GB, free: 4.113 MB / 0.7794 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.000255/0.6691, allocations: 266.2 kB / 1.031 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.6692, allocations: 43.47 kB / 1.031 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.278e-05/0.6692, allocations: 55.3 kB / 1.031 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.6692, allocations: 4 kB / 1.031 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6693, allocations: 0 / 1.031 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.6693, allocations: 4 kB / 1.031 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.6696, allocations: 413.2 kB / 1.031 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6696, allocations: 0 / 1.031 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.6696, allocations: 4 kB / 1.031 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6696, allocations: 3.938 kB / 1.031 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.6697, allocations: 15.92 kB / 1.031 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6697, allocations: 4 kB / 1.031 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6697, allocations: 0 / 1.031 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000587/0.6703, allocations: 0.5115 MB / 1.032 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.031e-05/0.6704, allocations: 128.6 kB / 1.032 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.6704, allocations: 7.938 kB / 1.032 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.6706, allocations: 19.98 kB / 1.032 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/0.6707, allocations: 31.95 kB / 1.032 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.6707, allocations: 12 kB / 1.032 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004126/0.6711, allocations: 431.1 kB / 1.032 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6711, allocations: 0 / 1.032 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003993/0.6715, allocations: 115.9 kB / 1.033 GB, free: 1.977 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: 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.0009294/0.6724, allocations: 1.109 MB / 1.034 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004676/0.6729, allocations: 348.7 kB / 1.034 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6729, allocations: 4.188 kB / 1.034 GB, free: 500 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.6732, allocations: 195.8 kB / 1.034 GB, free: 304 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.6734, allocations: 39.61 kB / 1.034 GB, free: 268 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004925/0.6784, allocations: 4.492 MB / 1.039 GB, free: 11.59 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.6788, allocations: 0.835 MB / 1.039 GB, free: 10.73 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002184/0.679, allocations: 94.92 kB / 1.039 GB, free: 10.63 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.6792, allocations: 131.4 kB / 1.04 GB, free: 10.5 MB / 0.795 GB Notification: Performance of SimCode: time 5.01e-07/0.6792, allocations: 384 / 1.04 GB, free: 10.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.7004, allocations: 11.09 MB / 1.05 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/0.7007, allocations: 213.8 kB / 1.051 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.499, allocations: 0 / 1.051 GB, free: 15.42 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches