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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.008817/0.008817, allocations: 100.8 kB / 15.73 MB, free: 5.953 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.002157/0.002157, allocations: 187 kB / 16.67 MB, free: 5.883 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.742/2.742, allocations: 437 MB / 0.7105 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 59.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3847, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002439/0.3872, allocations: 0.86 MB / 1.167 GB, free: 6.438 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002404/0.3896, allocations: 1.455 MB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.3898, allocations: 4 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006032/0.3905, allocations: 199.4 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.3907, allocations: 103.7 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.3921, allocations: 370 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001262/0.3934, allocations: 0.8698 MB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002743/0.3936, allocations: 108.2 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007208/0.3944, allocations: 343.4 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006498/0.395, allocations: 259.4 kB / 1.171 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003096/0.3954, allocations: 44 kB / 1.171 GB, free: 2.695 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004545/0.3958, allocations: 111.9 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005623/0.3964, allocations: 347.3 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005898/0.397, allocations: 274.8 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.3982, allocations: 0.9073 MB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3982, allocations: 0 / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of FrontEnd: time 5.921e-06/0.3982, allocations: 0 / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.895e-05/0.3982, allocations: 3.938 kB / 1.172 GB, free: 1.066 MB / 0.92 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.002556/0.4008, allocations: 0.888 MB / 1.173 GB, free: 124 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.4008, allocations: 8.031 kB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.83e-05/0.4009, allocations: 50.73 kB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002837/0.4012, allocations: 52.38 kB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.4027, allocations: 0.5486 MB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.4027, allocations: 24.61 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/0.403, allocations: 36.38 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007489/0.4037, allocations: 300.1 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.4038, allocations: 3.938 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.4038, allocations: 19.86 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.4039, allocations: 4 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005162/0.4044, allocations: 215.9 kB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003207/0.4076, allocations: 1.184 MB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.4086, allocations: 475.7 kB / 1.176 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/0.409, allocations: 178.6 kB / 1.176 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.4091, allocations: 4 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000624/0.4097, allocations: 326.6 kB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=24): time 3.787e-06/0.4097, allocations: 0 / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24): time 0.001309/0.411, allocations: 0.6296 MB / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.509e-05/0.4111, allocations: 114.8 kB / 1.177 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008767/0.412, allocations: 0.5994 MB / 1.178 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001874/0.4122, allocations: 41.7 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.4125, allocations: 221.5 kB / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.412e-05/0.4126, allocations: 55.34 kB / 1.178 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000332/0.413, allocations: 185.5 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4131, allocations: 359.5 kB / 1.179 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.4133, allocations: 131.8 kB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000882/0.4142, allocations: 0.7185 MB / 1.179 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.4146, allocations: 300.6 kB / 1.18 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4146, allocations: 0 / 1.18 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007513/0.4154, allocations: 417 kB / 1.18 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4154, allocations: 13.62 kB / 1.18 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.4154, allocations: 4 kB / 1.18 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.4155, allocations: 15.86 kB / 1.18 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.4157, allocations: 35.92 kB / 1.18 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.4157, allocations: 11.92 kB / 1.18 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.417, allocations: 112 kB / 1.18 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.417, allocations: 20.23 kB / 1.18 GB, free: 8.324 MB / 0.9356 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.0004461/0.4175, allocations: 265.6 kB / 1.181 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.4176, allocations: 39.53 kB / 1.181 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.4177, allocations: 47.38 kB / 1.181 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4177, allocations: 11.94 kB / 1.181 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.4178, allocations: 4 kB / 1.181 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4178, allocations: 3.984 kB / 1.181 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005203/0.4183, allocations: 401.2 kB / 1.181 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.4183, allocations: 0 / 1.181 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.129e-05/0.4184, allocations: 11.92 kB / 1.181 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.4184, allocations: 4 kB / 1.181 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.4184, allocations: 8 kB / 1.181 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.4184, allocations: 3.938 kB / 1.181 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-05/0.4184, allocations: 0 / 1.181 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008332/0.4193, allocations: 0.5199 MB / 1.182 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.4194, allocations: 124.7 kB / 1.182 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.149e-05/0.4195, allocations: 11.92 kB / 1.182 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.4197, allocations: 19.92 kB / 1.182 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.602e-05/0.4198, allocations: 27.97 kB / 1.182 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.4198, allocations: 12 kB / 1.182 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006036/0.4204, allocations: 443 kB / 1.182 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.4204, allocations: 0 / 1.182 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006384/0.4211, allocations: 111.8 kB / 1.182 GB, free: 6.188 MB / 0.9356 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.001245/0.4223, allocations: 1.092 MB / 1.183 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006491/0.423, allocations: 355.5 kB / 1.184 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.423, allocations: 0 / 1.184 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.4233, allocations: 187.9 kB / 1.184 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.4236, allocations: 42.7 kB / 1.184 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006154/0.4298, allocations: 4.402 MB / 1.188 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/0.4303, allocations: 0.8311 MB / 1.189 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003108/0.4306, allocations: 99.03 kB / 1.189 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.4309, allocations: 131.4 kB / 1.189 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of SimCode: time 7.31e-07/0.4309, allocations: 0 / 1.189 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0328/0.4637, allocations: 11.56 MB / 1.201 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.317/8.781, allocations: 15.2 kB / 1.201 GB, free: 3.52 MB / 0.9512 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