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.007621/0.007622, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001189/0.001189, allocations: 190 kB / 16.67 MB, free: 5.934 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.51/2.51, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001235, allocations: 63.91 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8149/0.8161, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.00244/0.8186, allocations: 0.8566 MB / 1.167 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.8211, allocations: 1.458 MB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.8212, allocations: 7.938 kB / 1.168 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005461/0.8218, allocations: 195.5 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.822, allocations: 115.6 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.8232, allocations: 366.8 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001003/0.8242, allocations: 0.8775 MB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.8244, allocations: 88.25 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005132/0.8249, allocations: 347.5 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004642/0.8254, allocations: 267.2 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.8256, allocations: 48 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.8259, allocations: 103.9 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004289/0.8263, allocations: 347.3 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003982/0.8267, allocations: 270.8 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.8278, allocations: 0.9148 MB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.8278, allocations: 0 / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8278, allocations: 0 / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.849e-05/0.8278, allocations: 4 kB / 1.172 GB, free: 13.54 MB / 0.9044 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.001932/0.8298, allocations: 0.9033 MB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.8298, allocations: 12.62 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.112e-05/0.8299, allocations: 42.69 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.8301, allocations: 64.58 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.8312, allocations: 0.5336 MB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.8312, allocations: 24.61 kB / 1.174 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.8313, allocations: 40.36 kB / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/0.8318, allocations: 310.2 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.8318, allocations: 7.938 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.8319, allocations: 0 / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.8319, allocations: 4 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003373/0.8322, allocations: 219.8 kB / 1.174 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.8344, allocations: 1.184 MB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006161/0.8351, allocations: 471.7 kB / 1.176 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.8353, allocations: 186.6 kB / 1.176 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.8354, allocations: 4 kB / 1.176 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004746/0.8358, allocations: 334 kB / 1.176 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.8359, allocations: 4 kB / 1.176 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001161/0.837, allocations: 0.6221 MB / 1.177 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.569e-05/0.8371, allocations: 118.7 kB / 1.177 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007782/0.8379, allocations: 0.5994 MB / 1.178 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.838, allocations: 45.7 kB / 1.178 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.8383, allocations: 213.5 kB / 1.178 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.201e-05/0.8383, allocations: 55.58 kB / 1.178 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003566/0.8387, allocations: 190.3 kB / 1.178 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.8389, allocations: 366.8 kB / 1.179 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.8391, allocations: 127.8 kB / 1.179 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008852/0.84, allocations: 0.7074 MB / 1.179 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/0.8404, allocations: 312.3 kB / 1.18 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.8404, allocations: 4 kB / 1.18 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006911/0.8411, allocations: 417 kB / 1.18 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.8411, allocations: 4 kB / 1.18 GB, free: 4.973 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.8411, allocations: 7.938 kB / 1.18 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.8411, allocations: 7.938 kB / 1.18 GB, free: 4.957 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.8414, allocations: 39.91 kB / 1.18 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.8414, allocations: 4.375 kB / 1.18 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.8427, allocations: 127.9 kB / 1.18 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.8427, allocations: 16 kB / 1.18 GB, free: 4.773 MB / 0.9044 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.0003697/0.8431, allocations: 272 kB / 1.181 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/0.8432, allocations: 39.72 kB / 1.181 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.246e-05/0.8433, allocations: 55.36 kB / 1.181 GB, free: 4.41 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.8433, allocations: 7.938 kB / 1.181 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.8433, allocations: 0 / 1.181 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.8434, allocations: 0 / 1.181 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.8438, allocations: 405.2 kB / 1.181 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.495e-06/0.8438, allocations: 7.984 kB / 1.181 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.8438, allocations: 8 kB / 1.181 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.8438, allocations: 0 / 1.181 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.8439, allocations: 4 kB / 1.181 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.8439, allocations: 7.922 kB / 1.181 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.8439, allocations: 4 kB / 1.181 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007246/0.8446, allocations: 0.5178 MB / 1.182 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.8448, allocations: 116.9 kB / 1.182 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.8448, allocations: 15.98 kB / 1.182 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.845, allocations: 15.92 kB / 1.182 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.8451, allocations: 31.97 kB / 1.182 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.8451, allocations: 11.98 kB / 1.182 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005041/0.8456, allocations: 435.1 kB / 1.182 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.522e-06/0.8456, allocations: 0 / 1.182 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005754/0.8462, allocations: 119.8 kB / 1.182 GB, free: 2.633 MB / 0.9044 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.001215/0.8474, allocations: 1.11 MB / 1.183 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006049/0.848, allocations: 359.9 kB / 1.184 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8481, allocations: 0 / 1.184 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.8483, allocations: 187.8 kB / 1.184 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.8486, allocations: 39.61 kB / 1.184 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005556/0.8542, allocations: 4.409 MB / 1.188 GB, free: 12.32 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.8547, allocations: 0.8389 MB / 1.189 GB, free: 11.46 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002661/0.8549, allocations: 90.94 kB / 1.189 GB, free: 11.37 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.8551, allocations: 131.4 kB / 1.189 GB, free: 11.24 MB / 0.92 GB Notification: Performance of SimCode: time 5.01e-07/0.8552, allocations: 0 / 1.189 GB, free: 11.24 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03239/0.8876, allocations: 11.56 MB / 1.201 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.343/9.23, allocations: 13.52 kB / 1.201 GB, free: 15.92 MB / 0.9356 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