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.01408/0.01408, allocations: 95.38 kB / 15.73 MB, free: 6.051 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.002336/0.002336, allocations: 204.9 kB / 16.68 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 2.787/2.787, allocations: 222.9 MB / 240.4 MB, free: 4.328 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 5.692/5.692, allocations: 437.1 MB / 0.7105 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003323/0.003323, allocations: 63.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6673/0.6707, 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.005359/0.6762, allocations: 0.8562 MB / 1.167 GB, free: 6.441 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004029/0.6803, allocations: 1.455 MB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.6806, allocations: 4 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008979/0.6816, allocations: 203.4 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.6818, allocations: 103.6 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.6836, allocations: 361.9 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00194/0.6856, allocations: 0.8892 MB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003432/0.6859, allocations: 84.27 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008581/0.6868, allocations: 351.4 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007703/0.6876, allocations: 263.4 kB / 1.171 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002645/0.6879, allocations: 44 kB / 1.171 GB, free: 2.695 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000562/0.6885, allocations: 111.9 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007541/0.6892, allocations: 339.3 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000628/0.6899, allocations: 278.8 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.6919, allocations: 0.9154 MB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.537e-05/0.692, allocations: 0 / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.226e-06/0.692, allocations: 3.938 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.851e-05/0.692, allocations: 0 / 1.172 GB, free: 1.059 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.003279/0.6953, allocations: 0.9034 MB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 9.187e-05/0.6954, allocations: 8.031 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.892e-05/0.6955, allocations: 46.73 kB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000368/0.6959, allocations: 56.7 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.6975, allocations: 0.5452 MB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.729e-05/0.6976, allocations: 24.61 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.6978, allocations: 32.38 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008689/0.6986, allocations: 310.9 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.6987, allocations: 11.81 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.6987, allocations: 7.984 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.6988, allocations: 4 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006537/0.6994, allocations: 215.9 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003702/0.7031, allocations: 1.195 MB / 1.176 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.7045, allocations: 467.7 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004943/0.705, allocations: 178.6 kB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.705, allocations: 4 kB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009176/0.706, allocations: 332.9 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=24): time 4.048e-06/0.706, allocations: 0 / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24): time 0.002265/0.7083, allocations: 0.6421 MB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000254/0.7085, allocations: 110.8 kB / 1.177 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.7099, allocations: 0.6033 MB / 1.178 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002814/0.7102, allocations: 41.7 kB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000434/0.7107, allocations: 209.6 kB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.7108, allocations: 63.52 kB / 1.178 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005217/0.7114, allocations: 185.5 kB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000305/0.7117, allocations: 354.8 kB / 1.179 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.7121, allocations: 135.8 kB / 1.179 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.7141, allocations: 0.7185 MB / 1.179 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007926/0.7149, allocations: 296.6 kB / 1.18 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.7149, allocations: 0 / 1.18 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00201/0.7169, allocations: 429.1 kB / 1.18 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.717, allocations: 4 kB / 1.18 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.717, allocations: 4 kB / 1.18 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.174e-05/0.7171, allocations: 11.94 kB / 1.18 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.7173, allocations: 27.92 kB / 1.18 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.252e-05/0.7174, allocations: 11.92 kB / 1.18 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.7195, allocations: 124.2 kB / 1.18 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.7195, allocations: 15.98 kB / 1.18 GB, free: 8.289 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.0009618/0.7205, allocations: 261.9 kB / 1.181 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002445/0.7208, allocations: 47.72 kB / 1.181 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.721, allocations: 47.38 kB / 1.181 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.721, allocations: 7.938 kB / 1.181 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.721, allocations: 0 / 1.181 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.721, allocations: 3.984 kB / 1.181 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.7221, allocations: 405.3 kB / 1.181 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.7221, allocations: 0 / 1.181 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.904e-05/0.7222, allocations: 11.92 kB / 1.181 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/0.7222, allocations: 0 / 1.181 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.7222, allocations: 8 kB / 1.181 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.273e-05/0.7223, allocations: 11.94 kB / 1.181 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.7223, allocations: 3.938 kB / 1.181 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.7237, allocations: 0.5099 MB / 1.182 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.724, allocations: 128.9 kB / 1.182 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.879e-05/0.7241, allocations: 11.92 kB / 1.182 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.7243, allocations: 19.92 kB / 1.182 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.7245, allocations: 31.97 kB / 1.182 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.609e-05/0.7246, allocations: 16 kB / 1.182 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009486/0.7255, allocations: 435 kB / 1.182 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7255, allocations: 0 / 1.182 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00105/0.7266, allocations: 111.8 kB / 1.182 GB, free: 6.148 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.002244/0.7289, allocations: 1.113 MB / 1.183 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.7301, allocations: 352.5 kB / 1.184 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.7302, allocations: 192 / 1.184 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004664/0.7306, allocations: 187.9 kB / 1.184 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006037/0.7313, allocations: 41.95 kB / 1.184 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/0.7471, allocations: 4.4 MB / 1.188 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004899/0.7521, allocations: 0.8351 MB / 1.189 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007677/0.7529, allocations: 99.23 kB / 1.189 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005176/0.7535, allocations: 127.4 kB / 1.189 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of SimCode: time 1.954e-06/0.7535, allocations: 0 / 1.189 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1426/0.8961, allocations: 11.56 MB / 1.201 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.2/20.1, allocations: 21.8 kB / 1.201 GB, free: 3.465 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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